Add sources.d.n static vhost with redirect to sources.d.o
[mirror/dsa-puppet.git] / modules / roles / templates / static-mirroring / vhost / static-vhosts-simple.erb
index 146124a..30a186e 100644 (file)
        </FilesMatch>
 </Macro>
 
+<Macro vstatic-vhost-extra-sources.debian.net>
+       Redirect permanent / https://sources.debian.org/
+</Macro>
+
 <%=
 
 def vhost(lines, sn, kwargs={})
@@ -191,6 +195,7 @@ end
 
 lines = []
 vhost(lines, "mozilla.debian.net"            , :ssl => true, :ssl_optional => true)
+vhost(lines, "sources.debian.net"            , :ssl => true, :extra => true)
 vhost(lines, "backports.debian.org"          , :ssl => true)
 vhost(lines, "incoming.debian.org"           , :ssl => true, :ssl_optional => true)
 vhost(lines, "incoming.ports.debian.org"     , :ssl => true, :ssl_optional => true)