diff options
author | crupest <crupest@outlook.com> | 2024-11-07 18:31:40 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2024-11-07 18:31:40 +0800 |
commit | 42012b59ba4fe53dac57d2c2b66cb64dbf0dabf1 (patch) | |
tree | 1e4b50069aa9e78579cb638c722d6758683e7b2f | |
parent | 7347b9537be84426788ef7924716d3fccce30a0a (diff) | |
download | crupest-42012b59ba4fe53dac57d2c2b66cb64dbf0dabf1.tar.gz crupest-42012b59ba4fe53dac57d2c2b66cb64dbf0dabf1.tar.bz2 crupest-42012b59ba4fe53dac57d2c2b66cb64dbf0dabf1.zip |
feat(mail): move roundcube to root url.
-rw-r--r-- | template/nginx/root.conf.template | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/template/nginx/root.conf.template b/template/nginx/root.conf.template index 7ac5a9f..21d144c 100644 --- a/template/nginx/root.conf.template +++ b/template/nginx/root.conf.template @@ -56,8 +56,8 @@ server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name mail.${CRUPEST_DOMAIN}; - - location /rcube/ { + + location / { proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; @@ -67,8 +67,8 @@ server { proxy_set_header X-Real-IP $remote_addr; proxy_pass http://roundcubemail:80/; } - - location /rspam/ { + + location /rspamd/ { proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; |