aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2024-11-07 14:38:36 +0800
committercrupest <crupest@outlook.com>2024-11-07 14:38:36 +0800
commit13118f54b2f3800ee31ae4fb6384251832d4f2bb (patch)
treee7835cebd3a99ab34c407daf2784441726dff043
parent696286ffcfb599ee37c264b06d40d01dd34dd393 (diff)
downloadcrupest-13118f54b2f3800ee31ae4fb6384251832d4f2bb.tar.gz
crupest-13118f54b2f3800ee31ae4fb6384251832d4f2bb.tar.bz2
crupest-13118f54b2f3800ee31ae4fb6384251832d4f2bb.zip
fix(mail): try to fix subpath.
-rw-r--r--template/nginx/root.conf.template4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/nginx/root.conf.template b/template/nginx/root.conf.template
index 9cf1904..dfdd00a 100644
--- a/template/nginx/root.conf.template
+++ b/template/nginx/root.conf.template
@@ -65,7 +65,7 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
- proxy_pass http://roundcubemail:80;
+ proxy_pass http://roundcubemail:80/rcube;
}
location /rspam {
@@ -76,7 +76,7 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
- proxy_pass http://mailserver:11334;
+ proxy_pass http://mailserver:11334/;
}
client_max_body_size 5G;