Do not deny HTTP access upon TLS error when the flavor is mail
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user