From b7941a75c5bc1a3fb95b5f36b03b917beac81c27 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Thu, 1 Dec 2016 15:23:33 +0000 Subject: [PATCH] Also, make cgit redirects aware of the new test-* namespaces. --- roles/distgit/files/cgit.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/distgit/files/cgit.conf b/roles/distgit/files/cgit.conf index a99af2682a..37566c30f0 100644 --- a/roles/distgit/files/cgit.conf +++ b/roles/distgit/files/cgit.conf @@ -1,5 +1,5 @@ # Redirect requests to un-namespaced repos to their new namespaced home -RedirectMatch 302 "^/cgit/((?!(rpms|docker|modules)).*)" "/cgit/rpms/$1" +RedirectMatch 302 "^/cgit/((?!(rpms|docker|modules|test)).*)" "/cgit/rpms/$1" Alias /cgit-data /usr/share/cgit ScriptAlias /cgit /var/www/cgi-bin/cgit