]> git.openstreetmap.org Git - chef.git/commitdiff
Disallow HTCP access to squid 4 caches
authorTom Hughes <tom@compton.nu>
Wed, 30 Oct 2019 22:28:31 +0000 (22:28 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 30 Oct 2019 22:31:59 +0000 (22:31 +0000)
cookbooks/tilecache/templates/default/squid.conf.erb

index 2184b1be5a66f0200c909f56dd492c0c7df5e2a7..69e91976b51735716c52d411d71e60ffd147db56 100644 (file)
@@ -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