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,14 +352,13 @@ fi
# Enable ssl # 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 add-apt-repository ppa:certbot/certbot && sudo apt-get update
sudo apt-get install python-certbot-nginx sudo apt-get install python-certbot-nginx
sudo certbot --nginx -d $WEBSITE_NAME --noninteractive sudo certbot --nginx -d $WEBSITE_NAME --noninteractive
echo "SSL is enabled!" echo "SSL is enabled!"
else else
echo "SSL isn't enabled due to choice of the user!" echo "SSL isn't enabled due to choice of the user!"
fi fi

Loading…
Cancel
Save