Use relative redirect for / to the webmail

master
kaiyou 7 years ago
parent 2dfc91ac4d
commit acb5d7da38

@ -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 }} {

Loading…
Cancel
Save