]> git.openstreetmap.org Git - chef.git/blob - cookbooks/apache/templates/default/status.conf.erb
Revert "Enable HSTS for all apache served SSL sites"
[chef.git] / cookbooks / apache / templates / default / status.conf.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 <IfModule mod_status.c>
4
5 ExtendedStatus On
6
7 <Location /server-status>
8     SetHandler server-status
9     Order deny,allow
10     Deny from all
11 <% node.ipaddresses do |address| -%>
12     Allow from <%= address %>
13 <% end -%>
14     Allow from 127.0.1.1
15     Allow from 127.0.0.1
16     Allow from ::1
17 <% @hosts.each do |host| -%>
18     Allow from <%= host %>
19 <% end -%>
20 </Location>
21
22 <IfModule mod_proxy.c>
23     ProxyStatus On
24 </IfModule>
25
26 </IfModule>