diff options
Diffstat (limited to 'services/templates/nginx/conf.d/root.conf.template')
-rw-r--r-- | services/templates/nginx/conf.d/root.conf.template | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/services/templates/nginx/conf.d/root.conf.template b/services/templates/nginx/conf.d/root.conf.template index 3ea97d9..dd223c2 100644 --- a/services/templates/nginx/conf.d/root.conf.template +++ b/services/templates/nginx/conf.d/root.conf.template @@ -17,6 +17,14 @@ server { proxy_pass http://git-server:80; } + location = /github { + return 301 @@CRUPEST_GITHUB@@; + } + + location = /github/ { + return 301 @@CRUPEST_GITHUB@@; + } + location /_@@CRUPEST_V2RAY_PATH@@ { if ($http_upgrade != "websocket") { return 404; |