From 9653afdbeb1105195a1f10a3a7ccc32d73df124f Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 30 Nov 2016 09:24:17 +0000 Subject: [PATCH] Block scrapers on render servers instead of restricting to caches --- cookbooks/tile/templates/default/apache.erb | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/cookbooks/tile/templates/default/apache.erb b/cookbooks/tile/templates/default/apache.erb index fbc781c90..292744195 100644 --- a/cookbooks/tile/templates/default/apache.erb +++ b/cookbooks/tile/templates/default/apache.erb @@ -61,9 +61,19 @@ -<% @caches.each do |cache| -%> -<% cache.ipaddresses(:role => :external).sort.each do |address| -%> - Require ip <%= address %> -<% end -%> -<% end -%> + + Require all granted + Require not ip 60.199.131.39 + Require not ip 92.217.67.26 + Require not ip 103.53.208.109 + Require not ip 113.196.123.178 + Require not ip 118.193.51.194 + Require not ip 119.188.70.34 + Require not ip 165.228.125.15 + Require not ip 171.13.14.152 + Require not ip 171.15.132.56 + Require not ip 199.203.108.5 + Require not ip 210.209.89.127 + Require not ip 210.65.88.6 + -- 2.39.5