From 8fef504b800523a2b99f53f5ffd2db1661417dc5 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 29 Oct 2019 21:14:49 +0000 Subject: [PATCH] Enable HTCP on tile caches --- cookbooks/squid/templates/default/squid.conf.erb | 3 +++ cookbooks/tilecache/templates/default/squid.conf.erb | 3 +++ 2 files changed, 6 insertions(+) diff --git a/cookbooks/squid/templates/default/squid.conf.erb b/cookbooks/squid/templates/default/squid.conf.erb index 51dc0b63e..e6fd9bdd6 100644 --- a/cookbooks/squid/templates/default/squid.conf.erb +++ b/cookbooks/squid/templates/default/squid.conf.erb @@ -16,6 +16,8 @@ max_filedescriptors 98304 #used by squidclient / munin http_port 3128 +#HTCP +htcp_port 4827 #ICP icp_port 3130 log_icp_queries off @@ -152,6 +154,7 @@ logfile_rotate 0 #MUST BE LAST ACL #-------------- http_access deny all +htcp_access deny all icp_access deny all #-------------- diff --git a/cookbooks/tilecache/templates/default/squid.conf.erb b/cookbooks/tilecache/templates/default/squid.conf.erb index 08d22812d..2cf9db393 100644 --- a/cookbooks/tilecache/templates/default/squid.conf.erb +++ b/cookbooks/tilecache/templates/default/squid.conf.erb @@ -152,6 +152,9 @@ acl pool_unlimited src <%= address %> # Juno Minsk office - me@komzpa.net acl pool_unlimited src 212.98.173.54 +#Allow tile_caches HTCP access +htcp_access allow tile_caches + #Allow tile_caches ICP access icp_access allow tile_caches -- 2.43.2