only set 421 error doc on proxies not everything using apache role

This commit is contained in:
Kevin Fenzi 2017-11-27 16:21:17 +00:00
parent 493b871b49
commit b9b2b34af1

View file

@ -1,5 +1,7 @@
Header set AppTime "%D"
PassEnv 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"
{% endif %}