src.nth.io/

summaryrefslogtreecommitdiff
path: root/git/web/templates/cgit.nginx.conf.j2
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2026-04-18 21:45:06 -0500
committerLuke Hoersten <[email protected]>2026-04-18 21:45:06 -0500
commit9e4694c554b75b115d54f610c4e22c8027e94e0b (patch)
tree1dd21749abc025e75f3bf76b9c72d7357169c60e /git/web/templates/cgit.nginx.conf.j2
parent2592380207121753a2f64abd9c4fd4b3e99b3c0f (diff)
Remove nginx config tasks from git/web role, make owner discovery recursiveHEADmain
Diffstat (limited to 'git/web/templates/cgit.nginx.conf.j2')
-rw-r--r--git/web/templates/cgit.nginx.conf.j25
1 files changed, 0 insertions, 5 deletions
diff --git a/git/web/templates/cgit.nginx.conf.j2 b/git/web/templates/cgit.nginx.conf.j2
index 324dd0c..0ddbe38 100644
--- a/git/web/templates/cgit.nginx.conf.j2
+++ b/git/web/templates/cgit.nginx.conf.j2
@@ -25,11 +25,6 @@ server {
root /usr/share/cgit;
- # Redirect old Mercurial-style paths to cgit equivalents
- rewrite ^/([^/]+)/file/tip/(.*)$ /$1/tree/$2 permanent;
- rewrite ^/([^/]+)/file/tip$ /$1/tree permanent;
- rewrite ^/([^/]+)/file$ /$1/tree permanent;
-
try_files $uri @cgit;
location @cgit {