1 # DO NOT EDIT - This file is being maintained by Chef
4 ServerName <%= @year %>.stateofthemap.org
5 ServerAlias <%= @year %>.stateofthemap.com <%= @year %>.sotm.org
6 ServerAdmin webmaster@openstreetmap.org
8 CustomLog /var/log/apache2/<%= @year %>.stateofthemap.org-access.log combined
9 ErrorLog /var/log/apache2/<%= @year %>.stateofthemap.org-error.log
11 RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
12 RedirectPermanent / https://<%= @year %>.stateofthemap.org/
16 ServerName <%= @year %>.stateofthemap.com
17 ServerAlias <%= @year %>.sotm.org
18 ServerAdmin webmaster@openstreetmap.org
20 CustomLog /var/log/apache2/<%= @year %>.stateofthemap.org-access.log combined
21 ErrorLog /var/log/apache2/<%= @year %>.stateofthemap.org-error.log
24 SSLCertificateFile /etc/ssl/certs/<%= @year %>.stateofthemap.org.pem
25 SSLCertificateKeyFile /etc/ssl/private/<%= @year %>.stateofthemap.org.key
27 RedirectPermanent / https://<%= @year %>.stateofthemap.org/
31 ServerName <%= @year %>.stateofthemap.org
32 ServerAdmin webmaster@openstreetmap.org
34 CustomLog /var/log/apache2/<%= @year %>.stateofthemap.org-access.log combined
35 ErrorLog /var/log/apache2/<%= @year %>.stateofthemap.org-error.log
38 SSLCertificateFile /etc/ssl/certs/<%= @year %>.stateofthemap.org.pem
39 SSLCertificateKeyFile /etc/ssl/private/<%= @year %>.stateofthemap.org.key
41 DocumentRoot /srv/<%= @year %>.stateofthemap.org
43 ErrorDocument 404 /404.html
46 ExpiresDefault "access plus 7 days"
49 <Directory /srv/<%= @year %>.stateofthemap.org>