X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/dece06b6ce4fd79e9f03af3bed7e52942b8aeba7..9457cdd43375bbe2493fe838739227851ac084c1:/cookbooks/tilecache/templates/default/squid.conf.erb?ds=sidebyside diff --git a/cookbooks/tilecache/templates/default/squid.conf.erb b/cookbooks/tilecache/templates/default/squid.conf.erb index 9b41d81d0..b6dd8fea8 100644 --- a/cookbooks/tilecache/templates/default/squid.conf.erb +++ b/cookbooks/tilecache/templates/default/squid.conf.erb @@ -5,6 +5,7 @@ acl osmtileScrapers browser ^$ acl osmtileScrapers browser ^MOBAC acl osmtileScrapers browser ^JTileDownloader acl osmtileScrapers browser ^Apache\-HttpClient +acl osmtileScrapers browser ^Go-http-client\/ acl osmtileScrapers browser ^Opera\/10\.00 acl osmtileScrapers browser ^shipxy01 #acl osmtileScrapers browser ^OsmAnd #Victor + Email. Whitelist for 1 week @@ -104,12 +105,6 @@ cache_peer <%= sibling %> sibling 3128 3130 weight=1500 cache_peer <%= node[:tilecache][:tile_parent] %> parent 80 0 no-query originserver name=osmtileAccel login=PASS connect-timeout=120 no-digest weight=1000 cache_peer_access osmtileAccel allow osmtile_sites -#Backup Parents -<% @renders.each do |renders| -%> -cache_peer <%= renders[:hostname] %>.render.openstreetmap.org parent 80 0 no-query originserver name=osmtileAccelBackup<%= renders[:hostname] %> login=PASS connect-timeout=60 no-digest weight=10 -cache_peer_access osmtileAccelBackup<%= renders[:hostname] %> allow osmtile_sites -<% end -%> - #---------------------------------- #Create an unlimited pool for cache IP addresses acl pool_unlimited src 127.0.0.1