Only define 421 document on Fedora
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
347628834a
commit
42aaf6dd92
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +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'] %}
|
{% if inventory_hostname in groups['proxies'] and ansible_distribution == 'Fedora' %}
|
||||||
|
|
||||||
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 %}
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue