1 # DO NOT EDIT - This file is being maintained by Chef
4 ServerName <%= @name %>
5 ServerAdmin webmaster@openstreetmap.org
10 SSLCertificateFile /etc/ssl/certs/<%= @name %>.pem
11 SSLCertificateKeyFile /etc/ssl/private/<%= @name %>.key
13 CustomLog /var/log/apache2/<%= @name %>-access.log combined
14 CustomLog /var/log/apache2/<%= @name %>-svn-access.log "%h %t %u %{SVN-ACTION}e" env=SVN-ACTION
15 ErrorLog /var/log/apache2/<%= @name %>-error.log
19 SVNPath <%= @directory %>
20 SVNIndexXSLT /svnindex.xsl
25 <Limit GET PROPFIND OPTIONS REPORT>
29 <LimitExcept GET PROPFIND OPTIONS REPORT>
34 <% unless @aliases.empty? -%>
37 ServerName <%= @aliases.first %>
38 <% @aliases.drop(1).each do |alias_name| -%>
39 ServerAlias <%= alias_name %>
41 ServerAdmin webmaster@openstreetmap.org
44 SSLCertificateFile /etc/ssl/certs/<%= @name %>.pem
45 SSLCertificateKeyFile /etc/ssl/private/<%= @name %>.key
47 CustomLog /var/log/apache2/<%= @name %>-access.log combined
48 ErrorLog /var/log/apache2/<%= @name %>-error.log
50 RedirectPermanent / https://<%= @name %>/
55 ServerName <%= @name %>
56 <% @aliases.each do |alias_name| -%>
57 ServerAlias <%= alias_name %>
60 ServerAdmin webmaster@openstreetmap.org
62 CustomLog /var/log/apache2/<%= @name %>-access.log combined
63 ErrorLog /var/log/apache2/<%= @name %>-error.log
65 RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
66 RedirectPermanent / https://<%= @name %>/