Files
fedora-infra_ansible/roles/distgit/templates/httppush.conf
Patrick Uiterwijk a8dfa2c319 Keep this suexec line for cgit for now
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2018-11-21 12:53:51 +01:00

21 lines
524 B
Plaintext

<Location />
AuthType oauth20
Require all granted
</Location>
<LocationMatch ".*/git-receive-pack">
AuthType oauth20
Require claims_expr '(.scope | index("https://src.fedoraproject.org/push") != null)'
</LocationMatch>
<LocationMatch ".*/info/refs">
<If "%{QUERY_STRING} =~ /service=git-upload-pack/">
Require all granted
</If>
<Else>
AuthType oauth20
Require claims_expr '(.scope | index("https://src.fedoraproject.org/push") != null)'
</Else>
</LocationMatch>
SuexecUserGroup pagure packager