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