Fix letsencrypt access to certbot for the mail-letsencrypt flavour

master
ofthesun9 4 years ago
parent 3ca81913fc
commit d32e73c5bc

@ -106,7 +106,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 KUBERNETES_INGRESS != 'true' and TLS_ERROR and not TLS_FLAVOR == "mail" %} {% if KUBERNETES_INGRESS != 'true' and TLS_ERROR and not (TLS_FLAVOR in [ 'mail-letsencrypt', 'mail' ]) %}
location / { location / {
return 403; return 403;
} }

@ -0,0 +1 @@
Fix letsencrypt access to certbot for the mail-letsencrypt flavour
Loading…
Cancel
Save