X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d0e7baf48bf812a5c000c1e8d47a6fb9737d4d87..c3be356ba81afff0a666355e018531de69e0a5fb:/cookbooks/stateofthemap/templates/default/apache.jekyll.erb?ds=sidebyside diff --git a/cookbooks/stateofthemap/templates/default/apache.jekyll.erb b/cookbooks/stateofthemap/templates/default/apache.jekyll.erb index 005996b11..504003df6 100644 --- a/cookbooks/stateofthemap/templates/default/apache.jekyll.erb +++ b/cookbooks/stateofthemap/templates/default/apache.jekyll.erb @@ -39,6 +39,11 @@ SSLCertificateKeyFile /etc/ssl/private/<%= @year %>.stateofthemap.org.key DocumentRoot /srv/<%= @year %>.stateofthemap.org/_site + + ErrorDocument 404 /404.html + + ExpiresActive On + ExpiresDefault "access plus 10 minutes" .stateofthemap.org/_site>