]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/templates/default/apache.erb
Treat fastly addresses as trusted sources of remote IP addresses
[chef.git] / cookbooks / tile / templates / default / apache.erb
index 0e461b8d60c0d006a6edd6a02e222500e4afb62b..e6f8ade1cbb135d3aa427acdb80e50b134183c06 100644 (file)
@@ -25,6 +25,9 @@
 <% cache.ipaddresses(:role => :external).sort.each do |address| -%>
   RemoteIPTrustedProxy <%= address %>
 <% end -%>
+<% end -%>
+<% @fastly.sort.each do |address| -%>
+  RemoteIPTrustedProxy <%= address %>
 <% end -%>
 
   # Setup logging