aboutsummaryrefslogtreecommitdiff
path: root/template/nginx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2024-11-04 22:42:15 +0800
committercrupest <crupest@outlook.com>2024-11-04 22:42:15 +0800
commit39377a7772919ba86da9711b25b58ed8bafeaddd (patch)
treef9e97dd95efc0ed4aed14938202e1d4a85445c2f /template/nginx
parentc188bcb8dbbb0e6e0abe361e66d6a21fed705158 (diff)
downloadcrupest-39377a7772919ba86da9711b25b58ed8bafeaddd.tar.gz
crupest-39377a7772919ba86da9711b25b58ed8bafeaddd.tar.bz2
crupest-39377a7772919ba86da9711b25b58ed8bafeaddd.zip
feat(service): add 2fauth.
Diffstat (limited to 'template/nginx')
-rw-r--r--template/nginx/server.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/template/nginx/server.json b/template/nginx/server.json
index b2655e2..5edf168 100644
--- a/template/nginx/server.json
+++ b/template/nginx/server.json
@@ -22,6 +22,11 @@
"upstream": "roundcubemail:80"
},
{
+ "type": "reverse-proxy",
+ "subdomain": "2fa",
+ "upstream": "2fauth:8000"
+ },
+ {
"type": "static-file",
"subdomain": "blog",
"root": "/srv/blog"