]> git.openstreetmap.org Git - chef.git/commitdiff
tilecache: block 9db.jp referer
authorGrant Slater <git@firefishy.com>
Tue, 24 Mar 2020 11:33:12 +0000 (11:33 +0000)
committerGrant Slater <git@firefishy.com>
Tue, 24 Mar 2020 11:33:12 +0000 (11:33 +0000)
cookbooks/tilecache/templates/default/nginx_tile.conf.erb

index 00e1271c17f6d4e5293ef295a0c132ae93b9532d..b42c64ee8d63f4732fbbc8466f29cd90df38fc16 100644 (file)
@@ -101,6 +101,8 @@ map $http_referer $denied_referer {
   '~^https?://[^.]*\.pkget\.com/'        1; # Too much traffic
   '~^https?://twpkinfo\.com/'            1; # Too much traffic
   '~^https?://[^.]*\.twpkinfo\.com/'     1; # Too much traffic
   '~^https?://[^.]*\.pkget\.com/'        1; # Too much traffic
   '~^https?://twpkinfo\.com/'            1; # Too much traffic
   '~^https?://[^.]*\.twpkinfo\.com/'     1; # Too much traffic
+  '~^https?://9db\.jp/'                  1; # Too much traffic
+  '~^https?://[^.]*\.9db\.jp/'           1; # Too much traffic
 }
 
 map $http_referer $osm_referer {
 }
 
 map $http_referer $osm_referer {