missed then

pull/215/head
Tony Benoy 6 years ago
parent 85f3a1e816
commit 64692600c6
No known key found for this signature in database
GPG Key ID: C26752B6501EAD3D

@ -352,12 +352,11 @@ fi
# Enable ssl
#--------------------------------------------------
if [ $INSTALL_NGINX = "True" ] and [$ENABLE_SSL= "True" ];
if [ $INSTALL_NGINX = "True" ] and [$ENABLE_SSL= "True" ];then
sudo add-apt-repository ppa:certbot/certbot && sudo apt-get update
sudo apt-get install python-certbot-nginx
sudo certbot --nginx -d $WEBSITE_NAME --noninteractive
echo "SSL is enabled!"
else
echo "SSL isn't enabled due to choice of the user!"
fi

Loading…
Cancel
Save