1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-03-17 20:57:54 +02:00

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

This commit is contained in:
Tim Möhlmann 2018-12-07 15:17:04 +02:00
parent eac4d553a9
commit 2de4995fec
No known key found for this signature in database
GPG Key ID: 8677988D8072E8DE

View File

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