Set the error message centrally
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
34a655ee37
commit
40de21728b
2 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
||||||
Header set AppTime "%D"
|
Header set AppTime "%D"
|
||||||
PassEnv HOSTNAME
|
PassEnv HOSTNAME
|
||||||
Header set AppServer "{{ inventory_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}}
|
ProxyPass {{ localpath }} {{ proxyurl }}{{remotepath}}
|
||||||
ProxyPassReverse {{ localpath }} {{ proxyurl }}{{remotepath}}
|
ProxyPassReverse {{ localpath }} {{ proxyurl }}{{remotepath}}
|
||||||
{% else %}
|
{% else %}
|
||||||
ErrorDocument 421 "You have hit an incorrect proxy for koji due to a bug in Firefox. Please refresh"
|
|
||||||
Redirect 421 /
|
Redirect 421 /
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue