From a10fb2878544d725c6572c54dc1decd80921b6ee Mon Sep 17 00:00:00 2001 From: bprieshof Date: Thu, 16 May 2019 12:41:34 +0200 Subject: [PATCH] Update 'Extra_Domains/NGINX_Domain.sh' --- Extra_Domains/NGINX_Domain.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Extra_Domains/NGINX_Domain.sh b/Extra_Domains/NGINX_Domain.sh index f824306..e0c59fb 100644 --- a/Extra_Domains/NGINX_Domain.sh +++ b/Extra_Domains/NGINX_Domain.sh @@ -139,6 +139,7 @@ if [ $domainwww = 1 ]; then elif [ $domainwww = 0 ]; then certbot --nginx -n -d "$domain" -m "$email" --hsts --redirect --no-eff-email --agree-tos echo "certbot --nginx -n -d $domain -m $email --hsts --redirect --no-eff-email --agree-tos" > ~/certbotactivate.sh +fi sed -i 's/ssl ipv6only/ssl http2 ipv6only/g' /etc/nginx/sites-available/"$domain" sed -i 's/listen 443 ssl/listen 443 ssl http2/g' /etc/nginx/sites-available/"$domain"