X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/94ac68549660e347fed85e8c65178a88761839f3..d6c3c3bc6b45204974784125bd0843a0b28ce9aa:/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"