Don't redirect when webmail is served on '/'

master
Tim Möhlmann 6 years ago
parent eac4d553a9
commit 2de4995fec
No known key found for this signature in database
GPG Key ID: 8677988D8072E8DE

@ -87,7 +87,7 @@ http {
include /overrides/*.conf; include /overrides/*.conf;
# Actual logic # Actual logic
{% if WEBROOT_REDIRECT %} {% if WEBROOT_REDIRECT and WEB_WEBMAIL != '/' %}
location / { location / {
return 301 {{ WEBROOT_REDIRECT }}; return 301 {{ WEBROOT_REDIRECT }};
} }

Loading…
Cancel
Save