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