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 %}
# If TLS is failing, prevent access to anything except certbot
{% if TLS_ERROR %}
{% if TLS_ERROR and not TLS_FLAVOR == "mail" %}
location / {
return 403;
}

Loading…
Cancel
Save