Actually make Proxies more clear in response headers
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
b1d1e4a685
commit
efa135e397
1 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue