diff --git a/scripts/generate-compose b/scripts/generate-compose index 24fafb63..c5100f3e 100755 --- a/scripts/generate-compose +++ b/scripts/generate-compose @@ -18,7 +18,7 @@ if [ -z "$EXTERNAL_IPv4" ]; then exit 1 fi -if [ "$ENABLE_HTTPS_PROXY" ] && [ -z "$LETSENCRYPT_EMAIL" ] && [ -z "$DEV_MODE" ]; then +if [ "${ENABLE_HTTPS_PROXY:-false}" != "false" ] && [ -z "$LETSENCRYPT_EMAIL" ] && [ -z "$DEV_MODE" ]; then echo "ERROR: LETSENCRYPT_EMAIL is not set in .env" echo "you need to specify an email adress, otherwise the certificate" echo "retrieval will fail"