You've already forked Mailu
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user