X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/94ac68549660e347fed85e8c65178a88761839f3..9f7bd649654a83e58e87f4d3605f7097abeb42fb:/cookbooks/switch2osm/templates/default/apache.erb diff --git a/cookbooks/switch2osm/templates/default/apache.erb b/cookbooks/switch2osm/templates/default/apache.erb index 2deada15f..e355c814c 100644 --- a/cookbooks/switch2osm/templates/default/apache.erb +++ b/cookbooks/switch2osm/templates/default/apache.erb @@ -15,6 +15,11 @@ SSLCertificateKeyFile /etc/ssl/private/<%= @name %>.key DocumentRoot <%= @directory %> + + ErrorDocument 404 /404.html + + ExpiresActive On + ExpiresDefault "access plus 10 minutes"