From: Tom Hughes Date: Wed, 30 Oct 2019 22:28:31 +0000 (+0000) Subject: Disallow HTCP access to squid 4 caches X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/b3a95001c6c29fe63b761f6fe1c2320869d7e719 Disallow HTCP access to squid 4 caches --- diff --git a/cookbooks/tilecache/templates/default/squid.conf.erb b/cookbooks/tilecache/templates/default/squid.conf.erb index 2184b1be5..69e91976b 100644 --- a/cookbooks/tilecache/templates/default/squid.conf.erb +++ b/cookbooks/tilecache/templates/default/squid.conf.erb @@ -151,10 +151,10 @@ acl pool_unlimited src <%= address %> # Juno Minsk office - me@komzpa.net acl pool_unlimited src 212.98.173.54 +<% if node[:squid][:version] < 4 -%> #Allow tile_caches HTCP access htcp_access allow tile_caches -<% if node[:squid][:version] < 4 -%> #Allow tile_caches ICP access icp_access allow tile_caches