X-F-F must not come from anywhere externally

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2018-07-11 01:33:06 +02:00
parent 12af23617a
commit 598c15bf66

View file

@ -6,6 +6,8 @@
ServerAdmin {{ server_admin }}
TraceEnable Off
RequestHeader unset X-Forwarded-For
{% if gzip %}
SetOutputFilter DEFLATE
{% endif %}
@ -38,6 +40,8 @@
{% endif %}
ServerAdmin {{ server_admin }}
RequestHeader unset X-Forwarded-For
{% if ansible_distribution == 'Fedora' and not inventory_hostname.startswith(('proxy01.phx2','proxy10.phx2')) and site_name != 'src.fedoraproject.org' %}
Protocols h2 http/1.1
{% elif ansible_distribution == 'Fedora' %}