aboutsummaryrefslogtreecommitdiff
path: root/templates/nginx
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-02-19 01:55:29 +0800
committerYuqian Yang <crupest@crupest.life>2025-02-19 01:57:24 +0800
commit704f514d253bb3ee1a206b801d22718e9b90261b (patch)
tree32321f6f8e4ffed191aaed2720de0a294be7471a /templates/nginx
parentaea207dd3ed8f28aef0627e67a325e50138159ff (diff)
downloadcrupest-704f514d253bb3ee1a206b801d22718e9b90261b.tar.gz
crupest-704f514d253bb3ee1a206b801d22718e9b90261b.tar.bz2
crupest-704f514d253bb3ee1a206b801d22718e9b90261b.zip
feat(git-server): add git server.
Diffstat (limited to 'templates/nginx')
-rw-r--r--templates/nginx/conf.d/root.conf.template5
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;