X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Ftemplates%2Fstatic-mirroring%2Fstatic-vhost.conf.erb;fp=modules%2Froles%2Ftemplates%2Fstatic-mirroring%2Fstatic-vhost.conf.erb;h=ad39851f89d700c1443c6fe3c0a2b0a9ee8a7244;hb=107f559934a6ad06102b93265b8149d8fc060a34;hp=6b857fc60a474bc2cacccd4d3f276c843bc1cd7d;hpb=4f024f48c0abbcd42de87e3ca799f9f4b7e29049;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/templates/static-mirroring/static-vhost.conf.erb b/modules/roles/templates/static-mirroring/static-vhost.conf.erb index 6b857fc60..ad39851f8 100644 --- a/modules/roles/templates/static-mirroring/static-vhost.conf.erb +++ b/modules/roles/templates/static-mirroring/static-vhost.conf.erb @@ -34,12 +34,7 @@ AllowOverride FileInfo Indexes Options=Multiviews Options Indexes SymLinksIfOwnerMatch IndexOptions FancyIndexing NameWidth=* - <% if @lsbmajdistrelease > '7' -%> - Require all granted - <% else -%> - Order allow,deny - Allow from all - <% end -%> + Require all granted Header set Surrogate-Key <%= hostname %>