X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5145c748af08a7dcae1b38deb783d74c2b550ea2..a5bf63a4db83a924cefa11797f1a1403e44d6c9c:/cookbooks/donate/templates/default/apache.erb?ds=sidebyside diff --git a/cookbooks/donate/templates/default/apache.erb b/cookbooks/donate/templates/default/apache.erb index 509cf3fdd..9529c5a82 100644 --- a/cookbooks/donate/templates/default/apache.erb +++ b/cookbooks/donate/templates/default/apache.erb @@ -16,7 +16,7 @@ <% if port == 80 -%> # Redirect to secure site - Redirect permanent / https://donate.openstreetmap.org + Redirect permanent / https://donate.openstreetmap.org/ <% end -%> <% if port == 443 -%> # @@ -76,6 +76,12 @@ AddOutputFilterByType DEFLATE text/csv + + + ExpiresDefault "access plus 15 minutes" + ExpiresByType text/html "access plus 5 minutes" + ExpiresByType text/csv "access plus 1 minute" + <% end -%>