X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/44fabe91a8196d6f2a406c3d4ef0a99cec325d64..c3be356ba81afff0a666355e018531de69e0a5fb:/cookbooks/stateofthemap/templates/default/apache.jekyll.erb diff --git a/cookbooks/stateofthemap/templates/default/apache.jekyll.erb b/cookbooks/stateofthemap/templates/default/apache.jekyll.erb index 4010ce4bb..504003df6 100644 --- a/cookbooks/stateofthemap/templates/default/apache.jekyll.erb +++ b/cookbooks/stateofthemap/templates/default/apache.jekyll.erb @@ -2,7 +2,7 @@ ServerName <%= @year %>.stateofthemap.org - ServerAlias <%= @year %>.stateofthemap.com + ServerAlias <%= @year %>.stateofthemap.com <%= @year %>.sotm.org ServerAdmin webmaster@openstreetmap.org CustomLog /var/log/apache2/<%= @year %>.stateofthemap.org-access.log combined @@ -14,6 +14,7 @@ ServerName <%= @year %>.stateofthemap.com + ServerAlias <%= @year %>.sotm.org ServerAdmin webmaster@openstreetmap.org CustomLog /var/log/apache2/<%= @year %>.stateofthemap.org-access.log combined @@ -38,6 +39,11 @@ SSLCertificateKeyFile /etc/ssl/private/<%= @year %>.stateofthemap.org.key DocumentRoot /srv/<%= @year %>.stateofthemap.org/_site + + ErrorDocument 404 /404.html + + ExpiresActive On + ExpiresDefault "access plus 10 minutes" .stateofthemap.org/_site>