From acb5d7da388df377351c28cb2b31908ffa6f9013 Mon Sep 17 00:00:00 2001 From: kaiyou Date: Mon, 4 Dec 2017 22:42:12 +0100 Subject: [PATCH] Use relative redirect for / to the webmail --- core/nginx/conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }} {