only set 421 error doc on proxies not everything using apache role
This commit is contained in:
parent
493b871b49
commit
b9b2b34af1
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
Header set AppTime "%D"
|
Header set AppTime "%D"
|
||||||
PassEnv HOSTNAME
|
PassEnv HOSTNAME
|
||||||
Header set AppServer "{{ inventory_hostname }}"
|
Header set AppServer "{{ inventory_hostname }}"
|
||||||
|
{% if inventory_hostname in groups['proxies'] %}
|
||||||
|
|
||||||
ErrorDocument 421 "You have hit an incorrect proxy for a Fedora Project website due to a bug in Firefox. Please refresh"
|
ErrorDocument 421 "You have hit an incorrect proxy for a Fedora Project website due to a bug in Firefox. Please refresh"
|
||||||
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue