X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Ftemplates%2Fstatic-mirroring%2Fvhost%2Fstatic-vhosts-simple.erb;h=959ca519863cc0c63ee88a798ba7d312271e6b19;hb=c3c52f70e82c8ebe6d9521638e51cb53ece8159a;hp=53f76f347abec6282b7437a0055549d3419c85a6;hpb=81e8b5f7499e90bb8cb59f09518ed7cae95660aa;p=mirror%2Fdsa-puppet.git 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 53f76f347..959ca5198 100644 --- a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb +++ b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb @@ -2,7 +2,10 @@ Use common-static-vhost mozilla.debian.net Use common-static-vhost backports.debian.org +Use common-static-vhost incoming.debian.org Use common-static-vhost news.debian.net +Use common-static-vhost debaday.debian.net +Use common-static-vhost debdeltas.debian.net Use common-static-vhost-with-extra metadata.ftp-master.debian.org "AddDefaultCharset utf-8" Use common-static-vhost-with-extra d-i.debian.org "ServerAlias d-i-backend.debian.org" Use common-static-vhost-with-extra network-test.debian.org "ServerAlias network-test-backend.debian.org" @@ -83,8 +86,12 @@ Use common-static-vhost-with-extra security-team.debian.org "ServerAlias securit AllowOverride FileInfo Indexes Options=Multiviews Options Multiviews Indexes FollowSymLinks Includes IndexOptions FancyIndexing NameWidth=* - Order allow,deny - Allow from all + <% if @lsbmajdistrelease > '7' -%> + Require all granted + <% else -%> + Order allow,deny + Allow from all + <% end -%> DefaultType text/plain