From 9e4694c554b75b115d54f610c4e22c8027e94e0b Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Sat, 18 Apr 2026 21:45:06 -0500 Subject: Remove nginx config tasks from git/web role, make owner discovery recursive --- git/web/templates/cgit.nginx.conf.j2 | 5 ----- 1 file changed, 5 deletions(-) (limited to 'git/web/templates') 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 { -- cgit v1.2.3