From 6c439ed77343ddd0a844294a76be85e89792f11e Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Thu, 9 Feb 2017 09:09:40 +0100 Subject: [PATCH] Add a couple aliases to the deb.d.o vhost Part of deprecating httpredir. --- .../templates/static-mirroring/vhost/static-vhosts-simple.erb | 3 +++ 1 file changed, 3 insertions(+) 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/ -- 2.20.1