From: Julien Cristau Date: Thu, 9 Feb 2017 08:09:40 +0000 (+0100) Subject: Add a couple aliases to the deb.d.o vhost X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=6c439ed77343ddd0a844294a76be85e89792f11e;p=mirror%2Fdsa-puppet.git Add a couple aliases to the deb.d.o vhost Part of deprecating httpredir. --- 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 888c5897b..0749d363f 100644 --- a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb +++ b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb @@ -4,6 +4,9 @@ # deb.debian.org <% if scope.function_has_static_component(['deb.debian.org']) -%> + ServerAlias httpredir.debian.org + ServerAlias http.debian.net + Redirect /debian/ http://cdn-fastly.deb.debian.org/debian/ Redirect /debian-debug/ http://cdn-fastly.deb.debian.org/debian-debug/ Redirect /debian-ports/ http://cdn-fastly.deb.debian.org/debian-ports/