diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-02-19 01:46:25 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-02-19 01:46:25 +0800 |
commit | 120d4b3c72d7956cd13d76e659f3e082a8dc428e (patch) | |
tree | 06a18e7d52647124786e80fd06eba92ee7981ea7 /templates/nginx/conf.d/2fa.conf.template | |
parent | ba2a022e3b03b60abd62829bdd75f9c6f22cc8cc (diff) | |
download | crupest-120d4b3c72d7956cd13d76e659f3e082a8dc428e.tar.gz crupest-120d4b3c72d7956cd13d76e659f3e082a8dc428e.tar.bz2 crupest-120d4b3c72d7956cd13d76e659f3e082a8dc428e.zip |
feat(2fa): move to root domain subpath.
Diffstat (limited to 'templates/nginx/conf.d/2fa.conf.template')
-rw-r--r-- | templates/nginx/conf.d/2fa.conf.template | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/templates/nginx/conf.d/2fa.conf.template b/templates/nginx/conf.d/2fa.conf.template deleted file mode 100644 index 278e4a1..0000000 --- a/templates/nginx/conf.d/2fa.conf.template +++ /dev/null @@ -1,17 +0,0 @@ -server { - server_name 2fa.${CRUPEST_DOMAIN}; - include common/https-listen; - - location / { - include common/proxy-common; - proxy_pass http://2fauth:8000/; - } -} - -server { - server_name 2fa.${CRUPEST_DOMAIN}; - include common/http-listen; - - include common/https-redirect; - include common/acme-challenge; -} |