X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d0e7baf48bf812a5c000c1e8d47a6fb9737d4d87..c91319c9056f22e55798efd8e6931bbb49fc43a7:/cookbooks/stateofthemap/templates/default/apache.static.erb diff --git a/cookbooks/stateofthemap/templates/default/apache.static.erb b/cookbooks/stateofthemap/templates/default/apache.static.erb index db543bb62..07ec18cbe 100644 --- a/cookbooks/stateofthemap/templates/default/apache.static.erb +++ b/cookbooks/stateofthemap/templates/default/apache.static.erb @@ -39,6 +39,11 @@ SSLCertificateKeyFile /etc/ssl/private/<%= @year %>.stateofthemap.org.key DocumentRoot /srv/<%= @year %>.stateofthemap.org + + ErrorDocument 404 /404.html + + ExpiresActive On + ExpiresDefault "access plus 7 days" .stateofthemap.org>