Allow koji web to Proxy

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2016-11-23 13:38:58 +00:00
parent 180860f390
commit ffb661e11d

View file

@ -32,7 +32,9 @@ HostPrincipalFormat = compile/%s@FEDORAPROJECT.ORG
AuthKeytab = /etc/koji-hub/koji-hub.keytab
{% if env == "staging" %}
{% if inventory_hostname.startswith('koji') %}
ProxyPrincipals = modularity@STG.FEDORAPROJECT.ORG
ProxyPrincipals = modularity@STG.FEDORAPROJECT.ORG,HTTP/koji.stg.fedoraproject.org@STG.FEDORAPROJECT.ORG
{% else %}
ProxyPrincipals = HTTP/koji.fedoraproject.org@FEDORAPROJECT.ORG
{% endif %}
{% endif %}