Send 404 when nothing server at '/'
Prevents Nginx welcome screen
This commit is contained in:
@@ -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' %}
|
||||||
|
|||||||
Reference in New Issue
Block a user