2 <Macro common-dsa-vhost-https-redirect $name>
3 <VirtualHost <%= vhost_listen %> >
5 ServerAdmin debian-admin@lists.debian.org
7 CustomLog /var/log/apache2/$name-access.log privacy
8 ErrorLog /var/log/apache2/$name-error.log
10 Redirect permanent / https://$name/
14 <Macro common-dsa-vhost-https-redirect-temp $name>
15 <VirtualHost <%= vhost_listen %> >
17 ServerAdmin debian-admin@lists.debian.org
19 CustomLog /var/log/apache2/$name-access.log privacy
20 ErrorLog /var/log/apache2/$name-error.log
22 Redirect / https://$name/
26 <Macro common-static-base $name>
27 <IfModule mod_userdir.c>
32 DocumentRoot /srv/static.debian.org/mirrors/$name/cur
33 <Directory /srv/static.debian.org/mirrors/$name/cur>
34 AllowOverride FileInfo Indexes Options=Multiviews
35 IndexOptions FancyIndexing NameWidth=*
40 Header set Surrogate-Key <%= hostname %>
42 DefaultType text/plain
43 AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
47 <Macro common-static-vhost-with-extra $name $extra>
48 <Virtualhost <%= vhost_listen %> >
50 ServerAdmin debian-admin@lists.debian.org
52 ErrorLog /var/log/apache2/$name-error.log
53 CustomLog /var/log/apache2/$name-access.log privacy
55 Use common-static-base $name
60 <Macro common-static-vhost $name>
61 Use common-static-vhost-with-extra $name "# nada"
65 <Macro common-static-vhost-ssl $name>
66 Use common-dsa-vhost-https-redirect $name
68 <Virtualhost <%= vhost_listen_443 %> >
70 ServerAdmin debian-admin@lists.debian.org
72 ErrorLog /var/log/apache2/$name-error.log
73 CustomLog /var/log/apache2/$name-access.log privacyssl
75 Use common-debian-service-ssl $name
78 Use common-static-base $name