X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/94ac68549660e347fed85e8c65178a88761839f3..4e068609184e2ff5ff0e0688568eb5e56fd0c4be:/cookbooks/switch2osm/templates/default/apache.erb?ds=sidebyside 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"