From: Aurelien Jarno Date: Thu, 26 May 2016 10:36:04 +0000 (+0200) Subject: Redirect ports.d.o to www.ports.d.o X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=14336fedebeca361f505b28ed3c605502db135e6;p=mirror%2Fdsa-puppet.git 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 --- 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/