Send 404 when nothing server at '/'

Prevents Nginx welcome screen
master
Tim Möhlmann 6 years ago
parent c25ba75d68
commit 20f1faf6d0
No known key found for this signature in database
GPG Key ID: 8677988D8072E8DE

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

Loading…
Cancel
Save