Use relative redirect for / to the webmail

(cherry picked from commit acb5d7da38)
This commit is contained in:
kaiyou
2017-12-04 22:42:12 +01:00
parent 8854d76bcc
commit 4ce3a04287

View File

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