From 14336fedebeca361f505b28ed3c605502db135e6 Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Thu, 26 May 2016 12:36:04 +0200 Subject: [PATCH] Redirect ports.d.o to www.ports.d.o Currently we have no vhost entry for ports.d.o, so it redirects to www.d.o. Signed-off-by: Aurelien Jarno --- .../templates/static-mirroring/vhost/static-vhosts-simple.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 81a9750af..97ec1588a 100644 --- a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb +++ b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb @@ -168,7 +168,8 @@ lines.join("\n") > - ServerName ports.debian.net + ServerName ports.debian.org + ServerAlias ports.debian.net ServerAdmin debian-admin@debian.org RedirectPermanent / http://www.ports.debian.org/ -- 2.20.1