From: Grant Slater Date: Mon, 23 Mar 2020 12:53:09 +0000 (+0000) Subject: Tilecache: block more fake google UA X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/45b7810de02974d8e5c7c51874238c4f76f42e94 Tilecache: block more fake google UA --- diff --git a/cookbooks/tilecache/templates/default/nginx_tile.conf.erb b/cookbooks/tilecache/templates/default/nginx_tile.conf.erb index 22ebd88cb..4f6680233 100644 --- a/cookbooks/tilecache/templates/default/nginx_tile.conf.erb +++ b/cookbooks/tilecache/templates/default/nginx_tile.conf.erb @@ -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