X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/26c853a923b21fbb599f9951409e053e18ee465b..c6ab57739ce4bd77d5303b653615fa685dbc0cd7:/cookbooks/munin/templates/default/apache.erb diff --git a/cookbooks/munin/templates/default/apache.erb b/cookbooks/munin/templates/default/apache.erb index 141d2a50f..15c5009e6 100644 --- a/cookbooks/munin/templates/default/apache.erb +++ b/cookbooks/munin/templates/default/apache.erb @@ -15,6 +15,9 @@ Alias /static/ /etc/munin/static/ ScriptAlias /munin-cgi/ /usr/lib/munin/cgi/ + # Remove Proxy request header to mitigate https://httpoxy.org/ + RequestHeader unset Proxy early + RewriteEngine on RewriteCond %{REQUEST_URI} !^/static/ RewriteRule ^(/.*\.html)?$ /munin-cgi/munin-cgi-html/$1 [PT]