diff --git a/roles/httpd/reverseproxy/templates/reversepassproxy.koji.conf b/roles/httpd/reverseproxy/templates/reversepassproxy.koji.conf index 9fc975a753..4617957aba 100644 --- a/roles/httpd/reverseproxy/templates/reversepassproxy.koji.conf +++ b/roles/httpd/reverseproxy/templates/reversepassproxy.koji.conf @@ -4,5 +4,10 @@ ProxyPreserveHost On ProxyTimeout 10800 TimeOut 10800 +{% if 'phx2' in inventory_hostname %} ProxyPass {{ localpath }} {{ proxyurl }}{{remotepath}} ProxyPassReverse {{ localpath }} {{ proxyurl }}{{remotepath}} +{% else %} +ErrorDocument 421 "You have hit an incorrect proxy for koji due to a bug in Firefox. Please refresh" +Redirect 421 / +{% endif %}