From 42aaf6dd921a946c9e77421fde418a72ce797237 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Fri, 8 Dec 2017 04:02:01 +0100 Subject: [PATCH] Only define 421 document on Fedora Signed-off-by: Patrick Uiterwijk --- files/httpd/headers.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %}