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 1b1137d..b265074 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>