mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Actually make Proxies more clear in response headers
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
Header set AppTime "%D"
|
||||
PassEnv HOSTNAME
|
||||
{% if 'proxy' in inventory_hostname %}
|
||||
Header set ProxyServer "{{ inventory_hostname }}"
|
||||
{% else %}
|
||||
Header set AppServer "{{ inventory_hostname }}"
|
||||
{% endif %}
|
||||
{% 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"
|
||||
|
||||
Reference in New Issue
Block a user