diff --git a/odoo_install.sh b/odoo_install.sh index 0a08456..79f7b9a 100644 --- a/odoo_install.sh +++ b/odoo_install.sh @@ -355,7 +355,7 @@ fi if [ $INSTALL_NGINX = "True" ] && [ $ENABLE_SSL = "True" ] && [ $ADMIN_EMAIL != "odoo@example.com" ] && [ $WEBSITE_NAME != "_" ];then sudo add-apt-repository ppa:certbot/certbot -y && sudo apt-get update -y - sudo apt-get install python-certbot-nginx -y + sudo apt-get install python3-certbot-nginx -y sudo certbot --nginx -d $WEBSITE_NAME --noninteractive --agree-tos --email $ADMIN_EMAIL --redirect sudo service nginx reload echo "SSL/HTTPS is enabled!"