Update 'Extra_Domains/NGINX_Domain.sh'
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user