Don't redirect when webmail is served on '/'
This commit is contained in:
@@ -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 }};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user