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 Redirect permanent / https://<%= @site %>/
14 ServerName <%= @site %>
15 ServerAdmin webmaster@openstreetmap.org
17 CustomLog /var/log/apache2/<%= @site %>-access.log combined
18 ErrorLog /var/log/apache2/<%= @site %>-error.log
23 ProxyPass / http://127.0.0.1:<%= @port %>/
28 AuthBasicProvider file
29 AuthUserFile "<%= @passwd %>"