X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Froles%2Ftemplates%2Fstatic-mirroring%2Fvhost%2Fstatic-vhosts-simple.erb;h=847b7a8b9f08b029c6e43354456b067bcae67d30;hb=cbe56bbf7e918af1ac70190ad463a2073eb4ae88;hp=53f76f347abec6282b7437a0055549d3419c85a6;hpb=81e8b5f7499e90bb8cb59f09518ed7cae95660aa;p=dsa-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 53f76f34..847b7a8b 100644 --- a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb +++ b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb @@ -2,16 +2,34 @@ 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-with-extra metadata.ftp-master.debian.org "AddDefaultCharset utf-8" +Use common-static-vhost debaday.debian.net +Use common-static-vhost debdeltas.debian.net +Use common-static-vhost timeline.debian.net 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" Use common-static-vhost-with-extra blends.debian.org "ServerAlias blends-backend.debian.org" Use common-static-vhost-with-extra wnpp-by-tags.debian.net "ServerAlias wnpp-by-tags-backend.debian.org" +Use common-static-vhost-ssl appstream.debian.org Use common-static-vhost-ssl dsa.debian.org Use common-static-vhost-ssl rtc.debian.org Use common-static-vhost-with-extra security-team.debian.org "ServerAlias security-team-backend.debian.org" +# metadata.ftp-master.debian.org + > + ServerName metadata.ftp-master.debian.org + ServerAdmin debian-admin@lists.debian.org + + ErrorLog /var/log/apache2/metadata.ftp-master.debian.org-error.log + CustomLog /var/log/apache2/metadata.ftp-master.debian.org-access.log privacy + + Use common-static-base metadata.ftp-master.debian.org + AddDefaultCharset utf-8 + + ForceType text/plain + + # bits.debian.org ###################### @@ -83,11 +101,14 @@ 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 AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css AddOutputFilter INCLUDES .xhtml