<VirtualHost *:443>
# Basic server configuration
- ServerName <%= node[:fqdn] %>
+ ServerName <%= node.name %>
ServerAlias tile.openstreetmap.org
ServerAlias render.openstreetmap.org
ServerAdmin webmaster@openstreetmap.org
#
SSLEngine on
SSLProxyEngine on
- SSLCertificateFile /etc/ssl/certs/<%= node[:fqdn] %>.pem
- SSLCertificateKeyFile /etc/ssl/private/<%= node[:fqdn] %>.key
+ SSLCertificateFile /etc/ssl/certs/<%= node.name %>.pem
+ SSLCertificateKeyFile /etc/ssl/private/<%= node.name %>.key
# Configure location of static files and CGI scripts
DocumentRoot /srv/tile.openstreetmap.org/html
Header set Access-Control-Allow-Origin "*"
# Add diagnostics header to identify render server
- Header set X-TileRender "<%= node[:hostname] %>"
+ Header set X-TileRender "<%= node.name %>"
# Remove Proxy request header to mitigate https://httpoxy.org/
RequestHeader unset Proxy early
<VirtualHost *:80>
# Basic server configuration
- ServerName <%= node[:fqdn] %>
+ ServerName <%= node.name %>
ServerAlias tile.openstreetmap.org
ServerAlias render.openstreetmap.org
ServerAdmin webmaster@openstreetmap.org
Header set Access-Control-Allow-Origin "*"
# Add diagnostics header to identify render server
- Header set X-TileRender "<%= node[:hostname] %>"
+ Header set X-TileRender "<%= node.name %>"
# Remove Proxy request header to mitigate https://httpoxy.org/
RequestHeader unset Proxy early