]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/stateofthemap/templates/default/apache.static.erb
Fix rubocop warnings
[chef.git] / cookbooks / stateofthemap / templates / default / apache.static.erb
index db543bb62a7a925f8c5894ee871d8073e80cf187..07ec18cbe2dc4a343e11e09c241ec07cdeb020d8 100644 (file)
         SSLCertificateKeyFile /etc/ssl/private/<%= @year %>.stateofthemap.org.key
 
         DocumentRoot /srv/<%= @year %>.stateofthemap.org
+
+        ErrorDocument 404 /404.html
+
+        ExpiresActive On
+        ExpiresDefault "access plus 7 days"
 </VirtualHost>
 
 <Directory /srv/<%= @year %>.stateofthemap.org>