</FilesMatch>
</Macro>
-<Macro vstatic-vhost-extra-sources.debian.net>
- Redirect permanent / https://sources.debian.org/
-</Macro>
-
<%=
def vhost(lines, sn, kwargs={})
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)
Redirect / https://manpages.debian.org/
</VirtualHost>
+Use common-dsa-vhost-https-redirect sources.debian.net
+<VirtualHost <%= @vhost_listen_443 %> >
+ ServerName sources.debian.net
+ ServerAdmin debian-admin@debian.org
+ Use common-debian-service-ssl sources.debian.net
+ Use common-ssl-HSTS
+ Redirect permanent / https://sources.debian.org/
+</VirtualHost>
+
# error pages
#############