]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilecache/templates/default/nginx_tile.conf.erb
tilecache: block app faked google.com referer
[chef.git] / cookbooks / tilecache / templates / default / nginx_tile.conf.erb
index 4c8395fee516723ed390d8d52865d39cb944a554..ea1b10ec98b2864cbbb9c34a8304bd771719d1fd 100644 (file)
@@ -73,6 +73,8 @@ map $http_referer $denied_referer {
   'http://www.osm.org'             1; # Faked
   'http://osm.org/'                1; # Faked
   'http://osm.org'                 1; # Faked
+  '~^http://google\.com'           1; # Faked
+  '~^http://www\.google\.com'      1; # Faked
   '~^https?://pmap\.kuku\.lu/'           1; # Too much traffic
   '~^https?://[^.]*\.pmap\.kuku\.lu/'    1; # Too much traffic
   '~^https?://fastpokemap\.com/'         1; # Too much traffic