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 CustomLog /var/log/apache2/<%= @name %>-svn-access.log "%h %t %u %{SVN-ACTION}e" env=SVN-ACTION
13 ErrorLog /var/log/apache2/<%= @name %>-error.log
17 SVNPath <%= @directory %>
18 SVNIndexXSLT /svnindex.xsl
23 <Limit GET PROPFIND OPTIONS REPORT>
27 <LimitExcept GET PROPFIND OPTIONS REPORT>
32 <% unless @aliases.empty? -%>
35 ServerName <%= @aliases.first %>
36 <% @aliases.drop(1).each do |alias_name| -%>
37 ServerAlias <%= alias_name %>
39 ServerAdmin webmaster@openstreetmap.org
42 SSLCertificateFile /etc/ssl/certs/<%= @name %>.pem
43 SSLCertificateKeyFile /etc/ssl/private/<%= @name %>.key
45 CustomLog /var/log/apache2/<%= @name %>-access.log combined
46 ErrorLog /var/log/apache2/<%= @name %>-error.log
48 RedirectPermanent / https://<%= @name %>/
53 ServerName <%= @name %>
54 <% @aliases.each do |alias_name| -%>
55 ServerAlias <%= alias_name %>
58 ServerAdmin webmaster@openstreetmap.org
60 CustomLog /var/log/apache2/<%= @name %>-access.log combined
61 ErrorLog /var/log/apache2/<%= @name %>-error.log
63 RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
64 RedirectPermanent / https://<%= @name %>/