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

Loading…
Cancel
Save