1 # DO NOT EDIT - This file is being maintained by Chef
4 # Basic server configuration
5 ServerName <%= node[:fqdn] %>
6 ServerAlias gps-tile.openstreetmap.org
7 ServerAlias *.gps-tile.openstreetmap.org
8 ServerAdmin webmaster@openstreetmap.org
10 # Configure location of static files
11 DocumentRoot /srv/gps-tile.openstreetmap.org/html
13 # Configure the CGI script that serves the tiles
14 ScriptAlias /lines /srv/gps-tile.openstreetmap.org/updater/tile
16 # Temporary redirect for old CGI location
17 RedirectPermanent /gps-lines/tile /lines
20 CustomLog /var/log/apache2/access.log combined
21 ErrorLog /var/log/apache2/error.log
24 # Always set Access-Control-Allow-Origin so that simple CORS requests
25 # will always work and can be cached
26 Header set Access-Control-Allow-Origin "*"
29 <Directory /srv/gps-tile.openstreetmap.org/html>