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
10 RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
11 Redirect permanent / https://<%= @name %>/
15 ServerName <%= @name %>
16 ServerAdmin webmaster@openstreetmap.org
18 CustomLog /var/log/apache2/<%= @name %>-access.log combined
19 ErrorLog /var/log/apache2/<%= @name %>-error.log
21 DocumentRoot <%= @directory %>
24 SSLCertificateFile /etc/ssl/certs/<%= @name %>.pem
25 SSLCertificateKeyFile /etc/ssl/private/<%= @name %>.key
28 <Directory <%= @directory %>>