diff --git a/core/nginx/conf/nginx.conf b/core/nginx/conf/nginx.conf index ecc20e01..d6436170 100644 --- a/core/nginx/conf/nginx.conf +++ b/core/nginx/conf/nginx.conf @@ -62,7 +62,7 @@ http { {% endif %} # If TLS is failing, prevent access to anything except certbot - {% if TLS_ERROR %} + {% if TLS_ERROR and not TLS_FLAVOR == "mail" %} location / { return 403; }