]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilecache/templates/default/squid.conf.erb
tilecache: add best peers to each cache (based on avg ping latency)
[chef.git] / cookbooks / tilecache / templates / default / squid.conf.erb
index d8fe021acfc75abf9bb2017f4f2155e95e48b984..aeb7c1e7d4a0906ed9751b3e4abe1c4c33eb7e75 100644 (file)
@@ -1,8 +1,10 @@
 acl osmtile_sites dstdomain 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$
 
-#acl osmtileScrapers browser ^offlinemap\-lite
-#http_access deny osmtile_sites osmtileScrapers
+acl osmtileScrapers browser ^offlinemap\-lite
+acl osmtileScrapers browser ^Wget
+acl osmtileScrapers browser ^Apache\-HttpClient
+http_access deny osmtile_sites osmtileScrapers
 
 acl whitelist_path urlpath_regex ^/cgi-bin/(export|debug)$
 acl blacklist_path urlpath_regex ^/cgi-bin/