Use relative redirect for / to the webmail

This commit is contained in:
kaiyou
2017-12-04 22:42:12 +01:00
parent 2dfc91ac4d
commit acb5d7da38

View File

@@ -71,7 +71,7 @@ http {
# Actual logic
{% if WEBMAIL != 'none' %}
location / {
return 301 $scheme://$host/webmail/;
return 301 {{ WEB_WEBMAIL }};
}
location {{ WEB_WEBMAIL }} {