1 # DO NOT EDIT - This file is being maintained by Chef
4 ServerName <%= @site %>
5 ServerAdmin webmaster@openstreetmap.org
7 CustomLog /var/log/apache2/<%= @site %>-access.log combined
8 ErrorLog /var/log/apache2/<%= @site %>-error.log
10 RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
11 Redirect permanent / https://<%= @site %>/
15 ServerName <%= @site %>
16 ServerAdmin webmaster@openstreetmap.org
18 CustomLog /var/log/apache2/<%= @site %>-access.log combined
19 ErrorLog /var/log/apache2/<%= @site %>-error.log
23 SSLCertificateFile /etc/ssl/certs/<%= @site %>.pem
24 SSLCertificateKeyFile /etc/ssl/private/<%= @site %>.key
26 ProxyPass / http://127.0.0.1:<%= @port %>/
31 AuthBasicProvider file
32 AuthUserFile "<%= @passwd %>"