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; }