]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilecache/templates/default/nginx_tile.conf.erb
tilecache: reject request without user-agent (try2)
[chef.git] / cookbooks / tilecache / templates / default / nginx_tile.conf.erb
index 40b13c371631af5536240ca5b034716d78a2a548..3932f54b7b0462a9a4d3dac16ae8f3037488be89 100644 (file)
@@ -46,6 +46,7 @@ map $http_user_agent $approved_scraper {
 
 map $http_user_agent $denied_scraper {
   default                0; # Not denied
+  ''                     1; # No User-Agent Set
   '~^Python\-urllib\/'   1; # Library Default
   '~^python\-requests\/' 1; # Library Default
   '~^node\-fetch\/'      1; # Library Default