diff --git a/core/nginx/conf/nginx.conf b/core/nginx/conf/nginx.conf index 3e605dd2..a169cd75 100644 --- a/core/nginx/conf/nginx.conf +++ b/core/nginx/conf/nginx.conf @@ -91,6 +91,8 @@ http { location / { return 301 {{ WEBROOT_REDIRECT }}; } + {% else %} + return 404 {% endif %} {% if WEBMAIL != 'none' %}