From 9380168e424c0bc5e5975d938907a3d0927c590e Mon Sep 17 00:00:00 2001 From: Paul Norman Date: Sat, 18 Apr 2020 15:24:04 -0700 Subject: [PATCH 1/1] Block more contacted sites from tiles --- cookbooks/tilecache/templates/default/nginx_tile.conf.erb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cookbooks/tilecache/templates/default/nginx_tile.conf.erb b/cookbooks/tilecache/templates/default/nginx_tile.conf.erb index 7fb979c4a..b8b0b5321 100644 --- a/cookbooks/tilecache/templates/default/nginx_tile.conf.erb +++ b/cookbooks/tilecache/templates/default/nginx_tile.conf.erb @@ -146,7 +146,12 @@ map $http_referer $denied_referer { '~^https?://geoportal360\.pl/' 1; '~^https?://skelbiu\.lt/' 1; '~^https?://[^.]*\.skelbiu\.lt/' 1; - # '~^https?://[^.]*\.wialon.com/' 1; # (hold per 2020-04-10 email) + '~^https?://wialon\.[^.]*/' 1; # wialon has many domains, so block them all + '~^https?://[^.]*\.wialon\.[^.]*/' 1; + '~^https?://gps-trace\.com/' 1; + '~^https?://[^.]*\.gps-trace\.com/' 1; + '~^https?://cellmapper\.net/' 1; + '~^https?://[^.]*\.cellmapper\.net/' 1; } map $http_referer $osm_referer { -- 2.39.5