]> git.openstreetmap.org Git - chef.git/commitdiff
tilecache: block staticmaps UA
authorGrant Slater <git@firefishy.com>
Mon, 23 Mar 2020 17:05:23 +0000 (17:05 +0000)
committerGrant Slater <git@firefishy.com>
Mon, 23 Mar 2020 17:05:23 +0000 (17:05 +0000)
cookbooks/tilecache/templates/default/nginx_tile.conf.erb

index 4f6680233d68eb2482aa4534ed7140926cdee626..00e1271c17f6d4e5293ef295a0c132ae93b9532d 100644 (file)
@@ -59,6 +59,7 @@ map $http_user_agent $denied_scraper {
   '~^Wget\/'             1; #Library Default
   'C# TilesDownloader'   1; # Downloader
   'MapDownloader'        1; # Downloader
+  '~^staticmaps'         1; # Downloader
   'Android'              1; # Default or fake
   'kc_android'           1; # Default or fake
   'Mozilla/4.0'          1; # Fake