Block more contacted sites from tiles
authorPaul Norman <penorman@mac.com>
Sat, 18 Apr 2020 22:24:04 +0000 (15:24 -0700)
committerPaul Norman <penorman@mac.com>
Sat, 18 Apr 2020 22:24:04 +0000 (15:24 -0700)
cookbooks/tilecache/templates/default/nginx_tile.conf.erb

index 7fb979c4a78eeb75313f32a82b36b26f1d91e1fb..b8b0b5321f79b59fe99b91574dba64a72e940393 100644 (file)
@@ -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 {