mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
14 lines
465 B
Django/Jinja
14 lines
465 B
Django/Jinja
ServerTokens ProductOnly
|
|
|
|
Header set AppTime "%D"
|
|
PassEnv HOSTNAME
|
|
{% if 'proxy' in inventory_hostname %}
|
|
Header set X-Fedora-ProxyServer "{{ inventory_hostname }}"
|
|
{% else %}
|
|
Header set X-Fedora-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"
|
|
{% endif %}
|