From: Tollef Fog Heen Date: Thu, 24 Jul 2014 20:20:22 +0000 (+0200) Subject: Set Surrogate-Key to local host name to make purging obsolete content easier X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=4e800c40376ed16d58a5de2575a3d009ce284e35;p=mirror%2Fdsa-puppet.git Set Surrogate-Key to local host name to make purging obsolete content easier --- diff --git a/modules/roles/templates/static-mirroring/static-vhost.conf.erb b/modules/roles/templates/static-mirroring/static-vhost.conf.erb index 1b1137d48..b2650744f 100644 --- a/modules/roles/templates/static-mirroring/static-vhost.conf.erb +++ b/modules/roles/templates/static-mirroring/static-vhost.conf.erb @@ -37,6 +37,8 @@ Allow from all + Header set Surrogate-Key <%= hostname %> + DefaultType text/plain AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css