From 0bd03bd7abbfe8154a1901b60753f09ec3b539cc Mon Sep 17 00:00:00 2001 From: bprieshof Date: Wed, 20 Mar 2019 14:19:29 +0100 Subject: [PATCH] Update 'NGINX-Installer.sh' --- NGINX-Installer.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/NGINX-Installer.sh b/NGINX-Installer.sh index f712891..12864d9 100644 --- a/NGINX-Installer.sh +++ b/NGINX-Installer.sh @@ -319,9 +319,11 @@ fi apt install -y python-certbot-nginx if [ $domainwww = 1 ]; then certbot --nginx -n -d "$domain" -d "www.$domain" -m "$email" --hsts --redirect --no-eff-email --agree-tos + echo "certbot --nginx -n -d $domain -d www.$domain -m $email --hsts --redirect --no-eff-email --agree-tos" > ~/certbotactivate.sh 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"