]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/stateofthemap/templates/default/apache.erb
Add stateofmap include_recipe for new recipe
[chef.git] / cookbooks / stateofthemap / templates / default / apache.erb
index 7cea946c43929f2615c061ec1afd45b1a1f10326..7cca3c5a1341bcd5b3344a55ecb99c5e26b762a0 100644 (file)
         SSLCertificateKeyFile /etc/ssl/private/stateofthemap.org.key
 
         DocumentRoot /srv/stateofthemap.org/html
         SSLCertificateKeyFile /etc/ssl/private/stateofthemap.org.key
 
         DocumentRoot /srv/stateofthemap.org/html
+
+        ErrorDocument 404 /404.html
+
+        ExpiresActive On
+        ExpiresDefault "access plus 12 hours"
 </VirtualHost>
 
 <Directory /srv/stateofthemap.org/html>
 </VirtualHost>
 
 <Directory /srv/stateofthemap.org/html>