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

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