1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-12-28 01:01:32 +00:00

improve ENABLE_IPV6 check in nginx bootstrap

This commit is contained in:
DerLinkman
2025-08-05 16:18:29 +02:00
parent 00c025f31a
commit 107c5d2e7d

View File

@@ -58,7 +58,7 @@ def prepare_template_vars():
'SOGOHOST': os.getenv("SOGOHOST", ipv4_network + ".248"),
'RSPAMDHOST': os.getenv("RSPAMDHOST", "rspamd-mailcow"),
'PHPFPMHOST': os.getenv("PHPFPMHOST", "php-fpm-mailcow"),
'ENABLE_IPV6': os.getenv("ENABLE_IPV6", "true").lower() in ("false"),
'ENABLE_IPV6': os.getenv("ENABLE_IPV6", "true").lower() != "false",
'HTTP_REDIRECT': os.getenv("HTTP_REDIRECT", "n").lower() in ("y", "yes"),
}