Files
fedora-infra_ansible/roles/httpd/reverseproxy/templates/reversepassproxy.koji.conf
Patrick Uiterwijk 40de21728b Set the error message centrally
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-26 21:12:32 +00:00

13 lines
352 B
Plaintext

ProxyPreserveHost On
# This needs to be massive due to koji's completeBuild with texlive (https://pagure.io/koji/issue/259)
ProxyTimeout 10800
TimeOut 10800
{% if 'phx2' in inventory_hostname %}
ProxyPass {{ localpath }} {{ proxyurl }}{{remotepath}}
ProxyPassReverse {{ localpath }} {{ proxyurl }}{{remotepath}}
{% else %}
Redirect 421 /
{% endif %}