1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-11-23 22:04:47 +02:00

Fix letsencrypt access to certbot for the mail-letsencrypt flavour

This commit is contained in:
ofthesun9
2020-11-17 10:26:41 +01:00
parent 3ca81913fc
commit d32e73c5bc
2 changed files with 2 additions and 1 deletions

View File

@@ -106,7 +106,7 @@ http {
{% endif %}
# 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 / {
return 403;
}