mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-12 02:46:20 +08:00
Set the error message centrally
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
Header set AppTime "%D"
|
||||
PassEnv HOSTNAME
|
||||
Header set AppServer "{{ inventory_hostname }}"
|
||||
|
||||
ErrorDocument 421 "You have hit an incorrect proxy for a Fedora Project website due to a bug in Firefox. Please refresh"
|
||||
|
||||
@@ -8,6 +8,5 @@ TimeOut 10800
|
||||
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 %}
|
||||
|
||||
Reference in New Issue
Block a user