From 7d18fb205649536971d712513bdf076180a4c13b Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Tue, 24 Mar 2020 11:40:59 +0000 Subject: [PATCH] tilecache: block clustrmaps.com referer --- cookbooks/tilecache/templates/default/nginx_tile.conf.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cookbooks/tilecache/templates/default/nginx_tile.conf.erb b/cookbooks/tilecache/templates/default/nginx_tile.conf.erb index b42c64ee8..0d5363228 100644 --- a/cookbooks/tilecache/templates/default/nginx_tile.conf.erb +++ b/cookbooks/tilecache/templates/default/nginx_tile.conf.erb @@ -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 { -- 2.39.5