diff --git a/core/nginx/conf/nginx.conf b/core/nginx/conf/nginx.conf index b016b9ca..2fb4b8ef 100644 --- a/core/nginx/conf/nginx.conf +++ b/core/nginx/conf/nginx.conf @@ -93,8 +93,8 @@ http { return 301 {{ WEBROOT_REDIRECT }}; {% else %} return 404; - } {% endif %} + } {% if WEBMAIL != 'none' %} location {{ WEB_WEBMAIL }} {