diff options
author | crupest <crupest@outlook.com> | 2024-11-04 00:16:15 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2024-11-04 00:16:15 +0800 |
commit | 4c2e15a6a2af5abc7fa8af725a4c6dc94fca7d3c (patch) | |
tree | 749e20832dc2140ea4a51a5472ddb4f1338d0c17 /template/nginx/server.json | |
parent | 60a3dbaf70647ed4ad005c14138f37cf1ad71aca (diff) | |
download | crupest-4c2e15a6a2af5abc7fa8af725a4c6dc94fca7d3c.tar.gz crupest-4c2e15a6a2af5abc7fa8af725a4c6dc94fca7d3c.tar.bz2 crupest-4c2e15a6a2af5abc7fa8af725a4c6dc94fca7d3c.zip |
fix(roundcubemail): fix reverse prpxy.
Diffstat (limited to 'template/nginx/server.json')
-rw-r--r-- | template/nginx/server.json | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/template/nginx/server.json b/template/nginx/server.json index a338c4f..183bd77 100644 --- a/template/nginx/server.json +++ b/template/nginx/server.json @@ -17,6 +17,11 @@ "upstream": "forgejo:3000" }, { + "type": "reverse-proxy", + "subdomain": "mail", + "upstream": "roundcubemail:80" + }, + { "type": "static-file", "subdomain": "blog", "root": "/srv/blog" @@ -25,6 +30,10 @@ "type": "redirect", "subdomain": "github", "url": "https://github.com/crupest" + }, + { + "type": "cert-only", + "subdomain": "mail" } ] } |