diff --git a/core/nginx/conf/nginx.conf b/core/nginx/conf/nginx.conf index c9bae43d..ecc20e01 100644 --- a/core/nginx/conf/nginx.conf +++ b/core/nginx/conf/nginx.conf @@ -71,7 +71,7 @@ http { # Actual logic {% if WEBMAIL != 'none' %} location / { - return 301 $scheme://$host/webmail/; + return 301 {{ WEB_WEBMAIL }}; } location {{ WEB_WEBMAIL }} {