From: Daniel Aleksandersen Date: Thu, 20 Jul 2017 00:16:22 +0000 (+1000) Subject: Bypass web caches for the NetworkManager connection tests X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=87f172c79bc34b54df8919127862ef3250f29236;p=mirror%2Fdsa-puppet.git Bypass web caches for the NetworkManager connection tests Ensures users are testing their network instead of their cache/proxy. Reported-in: https://ctrl.blog/entry/network-connection-http-checks Suggested-in: <1500474664.14216.2.camel@daniel.priv.no> Signed-off-by: Paul Wise --- diff --git a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb index 506f95a7a..c5dc09076 100644 --- a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb +++ b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb @@ -49,6 +49,9 @@ ServerAlias network-test-backend.debian.org + + Header set Cache-Control "must-revalidate, max-age=0" +