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 %>
20 AuthName "<%= @realm %>"
21 AuthUserFile <%= @password_file %>
26 <Limit GET PROPFIND OPTIONS REPORT>
30 <LimitExcept GET PROPFIND OPTIONS REPORT>
35 <% unless @aliases.empty? -%>
38 ServerName <%= @aliases.first %>
39 <% @aliases.drop(1).each do |alias_name| -%>
40 ServerAlias <%= alias_name %>
42 ServerAdmin webmaster@openstreetmap.org
45 SSLCertificateFile /etc/ssl/certs/<%= @name %>.pem
46 SSLCertificateKeyFile /etc/ssl/private/<%= @name %>.key
48 CustomLog /var/log/apache2/<%= @name %>-access.log combined
49 ErrorLog /var/log/apache2/<%= @name %>-error.log
51 RedirectPermanent / https://<%= @name %>/
56 ServerName <%= @name %>
57 <% @aliases.each do |alias_name| -%>
58 ServerAlias <%= alias_name %>
61 ServerAdmin webmaster@openstreetmap.org
63 CustomLog /var/log/apache2/<%= @name %>-access.log combined
64 ErrorLog /var/log/apache2/<%= @name %>-error.log
66 RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
67 RedirectPermanent / https://<%= @name %>/