diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-02-20 17:52:32 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-02-20 18:02:19 +0800 |
commit | f4c3bd4a2eae6861a6b6c053ab62b6538b64a1ff (patch) | |
tree | b1b7bced8537f448e31d686e88b9b5c6a7c2f59a /templates/nginx/conf.d/root.conf.template | |
parent | 9c2ef5c38ed57ca5fbd5d6ffe41f802001810abb (diff) | |
download | crupest-f4c3bd4a2eae6861a6b6c053ab62b6538b64a1ff.tar.gz crupest-f4c3bd4a2eae6861a6b6c053ab62b6538b64a1ff.tar.bz2 crupest-f4c3bd4a2eae6861a6b6c053ab62b6538b64a1ff.zip |
feat(cru-py): use new template format.
Diffstat (limited to 'templates/nginx/conf.d/root.conf.template')
-rw-r--r-- | templates/nginx/conf.d/root.conf.template | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/nginx/conf.d/root.conf.template b/templates/nginx/conf.d/root.conf.template index 93675ff..8cd9174 100644 --- a/templates/nginx/conf.d/root.conf.template +++ b/templates/nginx/conf.d/root.conf.template @@ -1,5 +1,5 @@ server { - server_name ${CRUPEST_DOMAIN}; + server_name @@CRUPEST_DOMAIN@@; include common/https-listen; location / { @@ -16,7 +16,7 @@ server { proxy_pass http://git-server:80; } - location /_$CRUPEST_V2RAY_PATH { + location /_@@CRUPEST_V2RAY_PATH@@ { if ($http_upgrade != "websocket") { return 404; } @@ -28,7 +28,7 @@ server { } server { - server_name ${CRUPEST_DOMAIN}; + server_name @@CRUPEST_DOMAIN@@; include common/http-listen; include common/https-redirect; |