]> git.openstreetmap.org Git - chef.git/commitdiff
Disable collapsed forwarding for squid 4
authorTom Hughes <tom@compton.nu>
Mon, 10 Jun 2019 08:47:37 +0000 (09:47 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 10 Jun 2019 08:47:37 +0000 (09:47 +0100)
cookbooks/squid/templates/default/squid.conf.erb

index 0b8189d3308cb8e38ca810c4e6a03bc79e7bfff9..2861daa92a9d4b739a4a2c40ff2288d89c3a4899 100644 (file)
@@ -64,7 +64,9 @@ request_timeout 90 seconds
 connect_timeout 20 seconds
 client_lifetime 1 hours
 
+<% if node[:squid][:version] < 4 -%>
 collapsed_forwarding on
+<% end -%>
 <% if node[:squid][:version] < 3 -%>
 refresh_stale_hit 300 seconds
 <% end -%>