From 4e800c40376ed16d58a5de2575a3d009ce284e35 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Thu, 24 Jul 2014 22:20:22 +0200 Subject: [PATCH] Set Surrogate-Key to local host name to make purging obsolete content easier --- modules/roles/templates/static-mirroring/static-vhost.conf.erb | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.20.1