1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-02-15 13:33:21 +02:00

Send 404 when nothing server at '/'

Prevents Nginx welcome screen
This commit is contained in:
Tim Möhlmann 2018-12-07 16:10:52 +02:00
parent c25ba75d68
commit 20f1faf6d0
No known key found for this signature in database
GPG Key ID: 8677988D8072E8DE

View File

@ -91,6 +91,8 @@ http {
location / {
return 301 {{ WEBROOT_REDIRECT }};
}
{% else %}
return 404
{% endif %}
{% if WEBMAIL != 'none' %}