1 # DO NOT EDIT - This file is being maintained by Chef
4 ServerName <%= @name %>
5 ServerAdmin webmaster@openstreetmap.org
8 SSLCertificateFile /etc/ssl/certs/<%= @name %>.pem
9 SSLCertificateKeyFile /etc/ssl/private/<%= @name %>.key
11 CustomLog /var/log/apache2/<%= @name %>-access.log combined
12 ErrorLog /var/log/apache2/<%= @name %>-error.log
14 DocumentRoot <%= @directory %>
16 PassengerMinInstances 10
17 PassengerPreStart http://<%= @name %>/
20 CacheEnable disk /embed
24 Header setifempty Access-Control-Allow-Origin *
29 ServerName <%= @name %>
30 ServerAdmin webmaster@openstreetmap.org
32 CustomLog /var/log/apache2/<%= @name %>-access.log combined
33 ErrorLog /var/log/apache2/<%= @name %>-error.log
35 RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
36 RedirectPermanent / https://<%= @name %>/
39 <Directory <%= @directory %>>