aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2024-11-07 18:31:40 +0800
committercrupest <crupest@outlook.com>2024-11-07 18:31:40 +0800
commit92b9f238d9400ab9dedb56ab7264357514a7dfe8 (patch)
tree1e4b50069aa9e78579cb638c722d6758683e7b2f
parent5dac2f1855aa253c52aa46b456a0cb6d7619b665 (diff)
downloadcrupest-92b9f238d9400ab9dedb56ab7264357514a7dfe8.tar.gz
crupest-92b9f238d9400ab9dedb56ab7264357514a7dfe8.tar.bz2
crupest-92b9f238d9400ab9dedb56ab7264357514a7dfe8.zip
feat(mail): move roundcube to root url.
-rw-r--r--template/nginx/root.conf.template8
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;