From: Grant Slater Date: Mon, 18 Jul 2016 15:59:18 +0000 (+0100) Subject: nominatim: Mitigate env HTTP_PROXY via cgi proxy header X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/854aa1791fb1dcec401f6dc0400f2707f228f6cb nominatim: Mitigate env HTTP_PROXY via cgi proxy header --- diff --git a/cookbooks/nominatim/templates/default/apache.erb b/cookbooks/nominatim/templates/default/apache.erb index ba30f0dd6..1afe817e5 100644 --- a/cookbooks/nominatim/templates/default/apache.erb +++ b/cookbooks/nominatim/templates/default/apache.erb @@ -19,6 +19,9 @@ SSLProxyEngine on <% end -%> + # Remove Proxy request header to mitigate https://httpoxy.org/ + RequestHeader unset Proxy early + CustomLog /var/log/apache2/nominatim.openstreetmap.org-access.log combined ErrorLog /var/log/apache2/nominatim.openstreetmap.org-error.log