]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Set Surrogate-Key to local host name to make purging obsolete content easier
authorTollef Fog Heen <tfheen@err.no>
Thu, 24 Jul 2014 20:20:22 +0000 (22:20 +0200)
committerTollef Fog Heen <tfheen@err.no>
Thu, 24 Jul 2014 20:20:22 +0000 (22:20 +0200)
modules/roles/templates/static-mirroring/static-vhost.conf.erb

index 1b1137d48daed8f43a609ad66f7f0d62d01caaf7..b2650744f6c2bb5f8aa65fb3124f4c3ff07910ae 100644 (file)
@@ -37,6 +37,8 @@
                Allow from all
        </Directory>
 
+       Header set Surrogate-Key <%= hostname %>
+
        DefaultType text/plain
        AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
 </Macro>