<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>
<Location /server-status>
SetHandler server-status
- 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>
ProxyPass /replication/streaming http://127.0.0.1:8080
<Location /replication/steaming>
- Order deny,allow
- Allow from all
+ Require all granted
</Location>
Redirect /pbf-experimental/ /pbf/
<Directory /var/lib/awstats>
Options None
AllowOverride None
- Order allow,deny
- Allow from all
+ Require all granted
</Directory>
<Directory /usr/share/awstats/icon>
Options None
AllowOverride None
- Order allow,deny
- Allow from all
+ Require all granted
</Directory>
<Directory /srv/tile.openstreetmap.org/html>
Options None
AllowOverride None
-<% if node[:lsb][:release].to_f >= 14.04 -%>
Require all granted
-<% else -%>
- Order allow,deny
- Allow from all
-<% end -%>
</Directory>
<Directory /srv/tile.openstreetmap.org/cgi-bin>
Options ExecCGI
AllowOverride None
-<% if node[:lsb][:release].to_f >= 14.04 -%>
Require all granted
-<% else -%>
- Order allow,deny
- Allow from all
-<% end -%>
</Directory>
# Allow all proxy requests
#
<Proxy *>
- Allow from all
+ Require all granted
</Proxy>
#