Fix syntax errors

master
Tim Möhlmann 6 years ago
parent 20f1faf6d0
commit 425cdd5e77
No known key found for this signature in database
GPG Key ID: 8677988D8072E8DE

@ -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' %}

Loading…
Cancel
Save