X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/afbb0c3a4dbaa76666abb291142df17c799f06b2..57e0c47d7407d478228e107cf8c33591031617ac:/cookbooks/tilecache/templates/default/squid.conf.erb diff --git a/cookbooks/tilecache/templates/default/squid.conf.erb b/cookbooks/tilecache/templates/default/squid.conf.erb index bb62e8537..080c7998d 100644 --- a/cookbooks/tilecache/templates/default/squid.conf.erb +++ b/cookbooks/tilecache/templates/default/squid.conf.erb @@ -1,3 +1,4 @@ +acl osmtile_thishost dstdomain <%= node[:fqdn] %> acl osmtile_sites dstdomain <%= node[:fqdn] %> a.tile.openstreetmap.org b.tile.openstreetmap.org c.tile.openstreetmap.org tile.openstreetmap.org a.tile.osm.org b.tile.osm.org c.tile.osm.org tile.osm.org acl osmtiles_png urlpath_regex .png$ @@ -108,6 +109,7 @@ acl tile_caches src <%= address %> <% 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 -%> #Primary Parent