From 5aa2fa036a5c7b373996b4ad43a1964fa63d43f7 Mon Sep 17 00:00:00 2001 From: Paul Norman Date: Tue, 3 Mar 2020 20:55:33 -0800 Subject: [PATCH] Block more library defaults from tiles --- cookbooks/tilecache/templates/default/nginx_tile.conf.erb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cookbooks/tilecache/templates/default/nginx_tile.conf.erb b/cookbooks/tilecache/templates/default/nginx_tile.conf.erb index ea1b10ec9..01dfdb9fd 100644 --- a/cookbooks/tilecache/templates/default/nginx_tile.conf.erb +++ b/cookbooks/tilecache/templates/default/nginx_tile.conf.erb @@ -54,10 +54,14 @@ map $http_user_agent $denied_scraper { '~^Java\/' 1; # Library Default '~^tiles$' 1; # Library Default '~^okhttp\/' 1; # Library Default - '~^runtastic' 1; # App + '~^Microsoft-ATL-Native\/' 1; #Library Default + 'C\# TilesDownloader' 1; # Downloader + 'MapDownloader' 1; # Downloader 'Android' 1; # Default or fake + 'kc_android' 1; # Default or fake 'Mozilla/4.0' 1; # Fake 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)' 1; # Fake + '~^runtastic' 1; # App '~^Where\ my\ children' 1; # App 'nossoonibusjp.android.crosswalk' 1; # App 'br.com.concisoti.potybus' 1; # App -- 2.39.5