X-F-F must not come from anywhere externally
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
12af23617a
commit
598c15bf66
1 changed files with 4 additions and 0 deletions
|
@ -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' %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue