]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apache/templates/default/status.conf.erb
apache: use 429 error for mod-evasive
[chef.git] / cookbooks / apache / templates / default / status.conf.erb
index 6b8b98ee7f8e19b13b2f6cab289ae46fd2a665b9..f78aa9402b3eecf3aab18c18418baeef8640f962 100644 (file)
@@ -6,7 +6,7 @@ ExtendedStatus On
 
 <Location /server-status>
     SetHandler server-status
-<% node.ipaddresses do |address| -%>
+<% node.ipaddresses.sort.each do |address| -%>
     Require ip <%= address %>
 <% end -%>
     Require ip 127.0.1.1