]> git.openstreetmap.org Git - chef.git/commitdiff
tilecache: move some refer to nginx
authorGrant Slater <git@firefishy.com>
Fri, 21 Feb 2020 13:22:21 +0000 (13:22 +0000)
committerGrant Slater <git@firefishy.com>
Fri, 21 Feb 2020 13:22:21 +0000 (13:22 +0000)
cookbooks/tilecache/templates/default/nginx_tile.conf.erb

index 2c0acf2f089d02576b9252f7c4aa69dc7e88548b..4a1a33b3de4f2a36785dd8a79692de4763dc9fb4 100644 (file)
@@ -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 {