X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ea44451a0f5505966a3783e82b728e865552ecb2..6769f06b626d566508eaa96a9892d05aeb331f24:/cookbooks/stateofthemap/templates/default/apache.erb diff --git a/cookbooks/stateofthemap/templates/default/apache.erb b/cookbooks/stateofthemap/templates/default/apache.erb index 7ed9d9251..7cca3c5a1 100644 --- a/cookbooks/stateofthemap/templates/default/apache.erb +++ b/cookbooks/stateofthemap/templates/default/apache.erb @@ -3,8 +3,10 @@ ServerName stateofthemap.org ServerAlias stateofthemap.com + ServerAlias sotm.org ServerAlias www.stateofthemap.org ServerAlias www.stateofthemap.com + ServerAlias www.sotm.org ServerAdmin webmaster@openstreetmap.org CustomLog /var/log/apache2/stateofthemap.org-access.log combined @@ -16,8 +18,10 @@ ServerName stateofthemap.com + ServerAlias sotm.org ServerAlias www.stateofthemap.org ServerAlias www.stateofthemap.com + ServerAlias www.sotm.org ServerAdmin webmaster@openstreetmap.org CustomLog /var/log/apache2/stateofthemap.org-access.log combined @@ -42,6 +46,11 @@ SSLCertificateKeyFile /etc/ssl/private/stateofthemap.org.key DocumentRoot /srv/stateofthemap.org/html + + ErrorDocument 404 /404.html + + ExpiresActive On + ExpiresDefault "access plus 12 hours"