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
21 AuthName "<%= @realm %>"
22 AuthUserFile <%= @password_file %>
27 <Limit GET PROPFIND OPTIONS REPORT>
31 <LimitExcept GET PROPFIND OPTIONS REPORT>
36 <% unless @aliases.empty? -%>
39 ServerName <%= @aliases.first %>
40 <% @aliases.drop(1).each do |alias_name| -%>
41 ServerAlias <%= alias_name %>
43 ServerAdmin webmaster@openstreetmap.org
46 SSLCertificateFile /etc/ssl/certs/<%= @name %>.pem
47 SSLCertificateKeyFile /etc/ssl/private/<%= @name %>.key
49 CustomLog /var/log/apache2/<%= @name %>-access.log combined
50 ErrorLog /var/log/apache2/<%= @name %>-error.log
52 RedirectPermanent / https://<%= @name %>/
57 ServerName <%= @name %>
58 <% @aliases.each do |alias_name| -%>
59 ServerAlias <%= alias_name %>
62 ServerAdmin webmaster@openstreetmap.org
64 CustomLog /var/log/apache2/<%= @name %>-access.log combined
65 ErrorLog /var/log/apache2/<%= @name %>-error.log
67 RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
68 RedirectPermanent / https://<%= @name %>/