diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-02-19 01:55:29 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-02-19 01:57:24 +0800 |
commit | 29bf91b8f57ec28492bb882d9f4d38fb12c9519a (patch) | |
tree | 8eb12e9eca946a66079ffa07369949394faaeefe /templates/nginx/conf.d/root.conf.template | |
parent | ac21570aa3468a316b747cfbd8241ccdfe6039b3 (diff) | |
download | crupest-29bf91b8f57ec28492bb882d9f4d38fb12c9519a.tar.gz crupest-29bf91b8f57ec28492bb882d9f4d38fb12c9519a.tar.bz2 crupest-29bf91b8f57ec28492bb882d9f4d38fb12c9519a.zip |
feat(git-server): add git server.
Diffstat (limited to 'templates/nginx/conf.d/root.conf.template')
-rw-r--r-- | templates/nginx/conf.d/root.conf.template | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/nginx/conf.d/root.conf.template b/templates/nginx/conf.d/root.conf.template index b5f12ef..93675ff 100644 --- a/templates/nginx/conf.d/root.conf.template +++ b/templates/nginx/conf.d/root.conf.template @@ -11,6 +11,11 @@ server { proxy_pass http://2fauth:8000/; } + location /git/ { + include common/proxy-common; + proxy_pass http://git-server:80; + } + location /_$CRUPEST_V2RAY_PATH { if ($http_upgrade != "websocket") { return 404; |