Do not deny HTTP access upon TLS error when the flavor is mail

master
kaiyou 7 years ago
parent bfc898c2d8
commit d0b8de72e4

@ -62,7 +62,7 @@ http {
{% endif %} {% endif %}
# If TLS is failing, prevent access to anything except certbot # If TLS is failing, prevent access to anything except certbot
{% if TLS_ERROR %} {% if TLS_ERROR and not TLS_FLAVOR == "mail" %}
location / { location / {
return 403; return 403;
} }

Loading…
Cancel
Save