mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
A regex that doesn't rely on '.git'.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Redirect requests to un-namespaced repos to their new namespaced home
|
||||
RedirectMatch 302 "/cgit/([a-zA-Z0-9\-]+)\.git(.*)$" "/cgit/rpms/$1.git$2"
|
||||
RedirectMatch 302 "^/cgit/((?!(rpms|docker)).*)" "/cgit/rpms/$1"
|
||||
|
||||
Alias /cgit-data /usr/share/cgit
|
||||
ScriptAlias /cgit /var/www/cgi-bin/cgit
|
||||
|
||||
Reference in New Issue
Block a user