mirror of
https://github.com/Mailu/Mailu.git
synced 2025-03-29 21:46:57 +02:00
Fix syntax errors
This commit is contained in:
parent
20f1faf6d0
commit
425cdd5e77
@ -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…
x
Reference in New Issue
Block a user