From b3a95001c6c29fe63b761f6fe1c2320869d7e719 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 30 Oct 2019 22:28:31 +0000 Subject: [PATCH] Disallow HTCP access to squid 4 caches --- cookbooks/tilecache/templates/default/squid.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5