diff --git a/files/httpd/headers.conf.j2 b/files/httpd/headers.conf.j2 index 7de4d2e74a..077ccb3e46 100644 --- a/files/httpd/headers.conf.j2 +++ b/files/httpd/headers.conf.j2 @@ -1,7 +1,7 @@ Header set AppTime "%D" PassEnv 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" {% endif %}