X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/6fcd4e5fe49648d1832465308790beede845b098..cf1c8bfced1b1614f30ba72094759dd444e60e6b:/cookbooks/web/templates/default/apache.frontend.erb?ds=sidebyside diff --git a/cookbooks/web/templates/default/apache.frontend.erb b/cookbooks/web/templates/default/apache.frontend.erb index 51d43a394..45683bde2 100644 --- a/cookbooks/web/templates/default/apache.frontend.erb +++ b/cookbooks/web/templates/default/apache.frontend.erb @@ -95,7 +95,6 @@ # Set expiry for assets # - Header unset Last-Modified Header unset ETag FileETag None @@ -106,7 +105,6 @@ # Set expiry for attachments # - Header unset Last-Modified Header unset ETag FileETag None @@ -122,32 +120,9 @@ ExpiresDefault "access plus 10 years" - - ExpiresDefault "access plus 10 years" - ExpiresDefault "access plus 7 days" - - ExpiresDefault "access plus 10 years" - - - # - # Set expiry for Potlatch 1 - # - - ExpiresDefault "access plus 7 days" - - - # - # Set expiry for Potlatch 2 - # - - ExpiresByType application/x-shockwave-flash "access plus 1 day" - ExpiresByType application/xml "access plus 1 day" - ExpiresByType text/css "access plus 1 day" - ExpiresByType image/png "access plus 7 days" - # # Configure rails @@ -159,6 +134,7 @@ PassengerMaxRequestQueueSize 250 PassengerPreStart https://www.openstreetmap.org/ PassengerAppGroupName rails + SetEnv OPENSTREETMAP_STATUS <%= @status %> SetEnv SECRET_KEY_BASE <%= @secret_key_base %> Alias /favicon.ico <%= node[:web][:base_directory] %>/rails/app/assets/favicons/favicon.ico Alias /openlayers <%= node[:web][:base_directory] %>/rails/vendor/assets/openlayers