]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilecache/templates/default/squid.conf.erb
Block fastpokemap, currently 13% of tile usage.
[chef.git] / cookbooks / tilecache / templates / default / squid.conf.erb
index 2127404f21c6d8d13f321b4d367959e195045bdf..032a60ecdb532de77198d12cbc7ee188d11e6623 100644 (file)
@@ -26,6 +26,13 @@ acl osmtileScrapers browser ^app_name$
 
 http_access deny osmtile_sites osmtileScrapers
 
+acl osmtileOverusers referer_regex ^https?://pmap\.kuku\.lu/
+acl osmtileOverusers referer_regex ^https?://[^.]*\.pmap\.kuku\.lu/
+acl osmtileOverusers referer_regex ^https?://fastpokemap\.com/
+acl osmtileOverusers referer_regex ^https?://[^.]*\.fastpokemap\.com/
+
+http_access deny osmtile_sites osmtileOverusers
+
 acl whitelist_path urlpath_regex ^/cgi-bin/(export|debug)
 acl blacklist_path urlpath_regex ^/cgi-bin/
 acl blacklist_path urlpath_regex ^/MyAdmin/