Merge pull request #501 from hoellen/webmail-root

Add posibilty to run webmail on root '/'
master
kaiyou 6 years ago committed by GitHub
commit 53bf6085dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -84,9 +84,11 @@ http {
# Actual logic
{% if WEBMAIL != 'none' %}
{% if WEB_WEBMAIL != '/' %}
location / {
return 301 {{ WEB_WEBMAIL }};
}
{% endif %}
location {{ WEB_WEBMAIL }} {
rewrite ^({{ WEB_WEBMAIL }})$ $1/ permanent;

Loading…
Cancel
Save