1 # DO NOT EDIT - This file is being maintained by Chef
 
   4   # Basic server configuration
 
   5   ServerName gps-tile.openstreetmap.org
 
   6   ServerAlias *.gps-tile.openstreetmap.org
 
   7   ServerAlias gps.tile.openstreetmap.org
 
   8   ServerAlias gps-*.tile.openstreetmap.org
 
   9   ServerAdmin webmaster@openstreetmap.org
 
  13   SSLCertificateFile /etc/ssl/certs/gps-tile.openstreetmap.org.pem
 
  14   SSLCertificateKeyFile /etc/ssl/private/gps-tile.openstreetmap.org.key
 
  16   # Configure location of static files
 
  17   DocumentRoot /srv/gps-tile.openstreetmap.org/html
 
  19   # Configure the CGI script that serves the tiles
 
  20   ScriptAlias /lines /srv/gps-tile.openstreetmap.org/updater/tile
 
  22   # Temporary redirect for old CGI location
 
  23   RedirectPermanent /gps-lines/tile /lines
 
  26   CustomLog /var/log/apache2/access.log combined
 
  27   ErrorLog /var/log/apache2/error.log
 
  30   # Always set Access-Control-Allow-Origin so that simple CORS requests
 
  31   # will always work and can be cached
 
  32   Header set Access-Control-Allow-Origin "*"
 
  36   # Basic server configuration
 
  37   ServerName gps-tile.openstreetmap.org
 
  38   ServerAlias *.gps-tile.openstreetmap.org
 
  39   ServerAlias gps.tile.openstreetmap.org
 
  40   ServerAlias gps-*.tile.openstreetmap.org
 
  41   ServerAdmin webmaster@openstreetmap.org
 
  46   # Redirect for ACME challenge validation
 
  47   RewriteRule ^/\.well-known/acme-challenge/(.*)$ http://acme.openstreetmap.org/.well-known/acme-challenge/$1 [R=permanent,L]
 
  50   RewriteRule (.*) https://%{SERVER_NAME}/$1 [R=permanent,L]
 
  53   CustomLog /var/log/apache2/access.log combined
 
  54   ErrorLog /var/log/apache2/error.log
 
  58 <Directory /srv/gps-tile.openstreetmap.org/html>
 
  64 <Directory /srv/gps-tile.openstreetmap.org/updater>