diff --git a/roles/distgit/templates/httppush.conf b/roles/distgit/templates/httppush.conf index 3b530add2b..2c329f6c21 100644 --- a/roles/distgit/templates/httppush.conf +++ b/roles/distgit/templates/httppush.conf @@ -16,19 +16,3 @@ Require claims_expr '(.scope | index("https://src.fedoraproject.org/push") != null)' - -{% if env == "production" %} -SetEnv GIT_PROJECT_ROOT /srv/git/repositories - -AliasMatch ^/(.*/objects/[0-9a-f]{2}/[0-9a-f]{38})$ /srv/git/repositories/$1 -AliasMatch ^/(.*/objects/pack/pack-[0-9a-f]{40}.(pack|idx))$ /srv/git/repositories/$1 - -SuexecUserGroup pagure packager - -ScriptAliasMatch \ - "(?x)^/(.*/(HEAD | \ - info/refs | \ - objects/info/[^/]+ | \ - git-(upload|receive)-pack))$" \ - /var/www/bin/gitolite-suexec-wrapper.sh/ -{% endif %}