# will always work and can be cached
Header set Access-Control-Allow-Origin "*"
+ # Remove Proxy request header to mitigate https://httpoxy.org/
+ RequestHeader unset Proxy early
+
# Enable the rewrite engine
RewriteEngine on
<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>