X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c4e3302632c141f3e6b61675189caf8ce0632936..26cf6103779739532340c4838555985479e76de6:/cookbooks/tilecache/templates/default/squid.conf.erb?ds=inline diff --git a/cookbooks/tilecache/templates/default/squid.conf.erb b/cookbooks/tilecache/templates/default/squid.conf.erb index 080c7998d..6c03797d1 100644 --- a/cookbooks/tilecache/templates/default/squid.conf.erb +++ b/cookbooks/tilecache/templates/default/squid.conf.erb @@ -105,11 +105,11 @@ acl tile_caches src <%= address %> <% end -%> <% end -%> +<% if node[:squid][:version] == "2" -%> #Siblings <% node[:tilecache][:tile_siblings].each do |sibling| -%> cache_peer <%= sibling %> sibling 3128 3130 weight=1500 -cache_peer_access <%= sibling %> deny tile_caches -cache_peer_access <%= sibling %> deny osmtile_thishost +<% end -%> <% end -%> #Primary Parent