From 5af9edcbf6441eb86310f8687e8711417fa1ce44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sven=20P=C3=BCschel?= Date: Thu, 26 Feb 2026 13:13:18 +0100 Subject: [PATCH] correctly check the ENABLE_HTTPS_PROXY variable Correctly check the ENABLE_HTTPS_PROXY variable to avoid setting the variable to false triggering an error about a missing LETSENCRYPT_EMAIL. This reuses the default variable expansion used later in the docker command to determine the actual value and check that it's not the default value of false. --- scripts/generate-compose | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"