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
commit2bf118001902801d51b32c8c70e819949ce62a14 (patch)
treee7835cebd3a99ab34c407daf2784441726dff043
parent0295355cbaa4090b730e5961f023b0cd46637fa7 (diff)
downloadcrupest-2bf118001902801d51b32c8c70e819949ce62a14.tar.gz
crupest-2bf118001902801d51b32c8c70e819949ce62a14.tar.bz2
crupest-2bf118001902801d51b32c8c70e819949ce62a14.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;