1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-03-19 21:08:37 +02:00

Webmail on root, fixes

This commit is contained in:
Tim Möhlmann 2018-12-19 16:20:24 +02:00
parent be7dc1e6bd
commit 24828615cf
No known key found for this signature in database
GPG Key ID: 8677988D8072E8DE

@ -87,14 +87,15 @@ http {
include /overrides/*.conf;
# Actual logic
{% if WEB_WEBMAIL != '/' %}
location / {
{% if WEBROOT_REDIRECT and WEB_WEBMAIL != '/' %}
{% if WEBROOT_REDIRECT %}
return 301 {{ WEBROOT_REDIRECT }};
{% else %}
return 404;
{% endif %}
}
{% endif %}
{% if WEBMAIL != 'none' %}
location {{ WEB_WEBMAIL }} {