1 # DO NOT EDIT - This file is being maintained by Chef
4 ServerName <%= @name %>
5 ServerAdmin webmaster@openstreetmap.org
7 CustomLog /var/log/apache2/<%= @name %>-access.log combined
8 ErrorLog /var/log/apache2/<%= @name %>-error.log
11 SSLCertificateFile /etc/ssl/certs/<%= @name %>.pem
12 SSLCertificateKeyFile /etc/ssl/private/<%= @name %>.key
14 DocumentRoot <%= @directory %>
18 ServerName <%= @name %>
19 ServerAdmin webmaster@openstreetmap.org
21 CustomLog /var/log/apache2/<%= @name %>-access.log combined
22 ErrorLog /var/log/apache2/<%= @name %>-error.log
24 RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
25 RedirectPermanent / https://<%= @name %>/
28 <Directory <%= @directory %>>