From 2dc17000f8f4c51332d20d3b28fa746367dd7838 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 10 Dec 2022 11:39:51 +0000 Subject: [PATCH] Add some comments to tile config --- cookbooks/tile/templates/default/apache.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cookbooks/tile/templates/default/apache.erb b/cookbooks/tile/templates/default/apache.erb index ae0020cb9..c24e06e82 100644 --- a/cookbooks/tile/templates/default/apache.erb +++ b/cookbooks/tile/templates/default/apache.erb @@ -68,12 +68,15 @@ # Restrict tile access to CDN nodes and admins Require expr "%{CONN_REMOTE_ADDR} != %{REMOTE_ADDR}" + # Fastly POPs <% @fastly.sort.each do |address| -%> Require ip <%= address %> <% end -%> + # StatusCake monitoring <% @statuscake.sort.reject { |address| address.empty? }.each do |address| -%> Require ip <%= address %> <% end -%> + # Administrators <% @admins.sort.each do |address| -%> Require ip <%= address %> <% end -%> -- 2.39.5