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