]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apache/templates/default/info.conf.erb
Don't share the same connection for multiple email domains
[chef.git] / cookbooks / apache / templates / default / info.conf.erb
index fd3fb8e6f7e594ff693b42d7ae6fe08d8660a7d5..f983b9991da32f96eafd5f56268e1095f590333a 100644 (file)
@@ -4,16 +4,14 @@
 
 <Location /server-info>
     SetHandler server-info
-    Order deny,allow
-    Deny from all
 <% node.ipaddresses do |address| -%>
-    Allow from <%= address %>
+    Require ip <%= address %>
 <% end -%>
-    Allow from 127.0.1.1
-    Allow from 127.0.0.1
-    Allow from ::1
+    Require ip 127.0.1.1
+    Require ip 127.0.0.1
+    Require ip ::1
 <% @hosts.each do |host| -%>
-    Allow from <%= host %>
+    Require ip <%= host %>
 <% end -%>
 </Location>