Add a couple aliases to the deb.d.o vhost
authorJulien Cristau <jcristau@debian.org>
Thu, 9 Feb 2017 08:09:40 +0000 (09:09 +0100)
committerJulien Cristau <jcristau@debian.org>
Thu, 9 Feb 2017 08:09:40 +0000 (09:09 +0100)
Part of deprecating httpredir.

modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb

index 888c589..0749d36 100644 (file)
@@ -4,6 +4,9 @@
 # deb.debian.org
 <% if scope.function_has_static_component(['deb.debian.org']) -%>
 <Macro vstatic-vhost-extra-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/