mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-10-29 17:22:20 +00:00
Fix letsencrypt access to certbot for the mail-letsencrypt flavour
(cherry picked from commit d32e73c5bc)
# Conflicts:
# core/nginx/conf/nginx.conf
This commit is contained in:
@@ -171,7 +171,11 @@ http {
|
||||
{% endif %}
|
||||
|
||||
# If TLS is failing, prevent access to anything except certbot
|
||||
<<<<<<< HEAD
|
||||
{% if TLS_ERROR and not (TLS_FLAVOR in [ 'mail-letsencrypt', 'mail' ]) %}
|
||||
=======
|
||||
{% if KUBERNETES_INGRESS != 'true' and TLS_ERROR and not (TLS_FLAVOR in [ 'mail-letsencrypt', 'mail' ]) %}
|
||||
>>>>>>> d32e73c5 (Fix letsencrypt access to certbot for the mail-letsencrypt flavour)
|
||||
location / {
|
||||
return 403;
|
||||
}
|
||||
|
||||
1
towncrier/newsfragments/1686.bugfix
Normal file
1
towncrier/newsfragments/1686.bugfix
Normal file
@@ -0,0 +1 @@
|
||||
Fix letsencrypt access to certbot for the mail-letsencrypt flavour
|
||||
Reference in New Issue
Block a user