]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/switch2osm/templates/default/apache.erb
Deploy 2021 State of the Map site
[chef.git] / cookbooks / switch2osm / templates / default / apache.erb
index 2deada15f0c4f02e0d0d851139368bb0a4b2f61f..e355c814c23a98c23a165f5b8c943c02ebe5026c 100644 (file)
    SSLCertificateKeyFile /etc/ssl/private/<%= @name %>.key
 
    DocumentRoot <%= @directory %>
+
+   ErrorDocument 404 /404.html
+
+   ExpiresActive On
+   ExpiresDefault "access plus 10 minutes"
 </VirtualHost>
 
 <VirtualHost *:80>