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