From: Tom Hughes Date: Sat, 10 Dec 2022 11:39:51 +0000 (+0000) Subject: Add some comments to tile config X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/2dc17000f8f4c51332d20d3b28fa746367dd7838 Add some comments to tile config --- 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 -%>