]> git.openstreetmap.org Git - chef.git/commitdiff
Tilecache: block more fake google UA
authorGrant Slater <git@firefishy.com>
Mon, 23 Mar 2020 12:53:09 +0000 (12:53 +0000)
committerGrant Slater <git@firefishy.com>
Mon, 23 Mar 2020 12:56:57 +0000 (12:56 +0000)
cookbooks/tilecache/templates/default/nginx_tile.conf.erb

index 22ebd88cbfa2253b181d453da33b5f54c3e789f3..4f6680233d68eb2482aa4534ed7140926cdee626 100644 (file)
@@ -84,8 +84,14 @@ 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
+  'http://google.com'              1; # Faked
+  'http://www.google.com'          1; # Faked
+  'http://google.com/'             1; # Faked
+  'http://www.google.com/'         1; # Faked
+  'https://google.com'             1; # Faked
+  'https://www.google.com'         1; # Faked
+  'https://google.com/'            1; # Faked
+  'https://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