From f362ecdb19da18721a4ca8d098b704ef7d9f3bcf Mon Sep 17 00:00:00 2001 From: kaiyou Date: Fri, 10 Nov 2017 16:04:40 +0100 Subject: [PATCH] Fix the missing trailing space on /webmail, fixes #304 --- core/nginx/conf/nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/core/nginx/conf/nginx.conf b/core/nginx/conf/nginx.conf index 438e9a9a..13bc0e7e 100644 --- a/core/nginx/conf/nginx.conf +++ b/core/nginx/conf/nginx.conf @@ -62,6 +62,7 @@ http { } location {{ WEB_WEBMAIL }} { + rewrite ^({{ WEB_WEBMAIL }})$ $1/ permanent; rewrite ^{{ WEB_WEBMAIL }}/(.*) /$1 break; proxy_pass http://webmail; }