From: Grant Slater Date: Fri, 21 Feb 2020 13:22:21 +0000 (+0000) Subject: tilecache: move some refer to nginx X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/ceea969bdd0637507b1bddac3b5437fb5cc2561f tilecache: move some refer to nginx --- diff --git a/cookbooks/tilecache/templates/default/nginx_tile.conf.erb b/cookbooks/tilecache/templates/default/nginx_tile.conf.erb index 2c0acf2f0..4a1a33b3d 100644 --- a/cookbooks/tilecache/templates/default/nginx_tile.conf.erb +++ b/cookbooks/tilecache/templates/default/nginx_tile.conf.erb @@ -68,6 +68,14 @@ map $http_referer $denied_referer { 'http://www.osm.org' 1; # Faked 'http://osm.org/' 1; # Faked 'http://osm.org' 1; # Faked + '~^https?://pmap\.kuku\.lu/' 1; # Too much traffic + '~^https?://[^.]*\.pmap\.kuku\.lu/' 1; # Too much traffic + '~^https?://fastpokemap\.com/' 1; # Too much traffic + '~^https?://[^.]*\.fastpokemap\.com/' 1; # Too much traffic + '~^https?://pkget\.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 } map $http_referer $osm_referer {