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 | c8be4e6d6e3b46c9c012fd10794fd8fe3f45dc3e (patch) | |
tree | 2ccf8cb2027ba79bcfe777a7a10871eca23d507d /templates/nginx/conf.d/root.conf.template | |
parent | a7359300539f6a4be04b871de04fd690e54addb8 (diff) | |
download | crupest-c8be4e6d6e3b46c9c012fd10794fd8fe3f45dc3e.tar.gz crupest-c8be4e6d6e3b46c9c012fd10794fd8fe3f45dc3e.tar.bz2 crupest-c8be4e6d6e3b46c9c012fd10794fd8fe3f45dc3e.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; |