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 prepare-static-vhost $name>
15 <Macro static-vhost-base-$name>
16 ServerAdmin debian-admin@lists.debian.org
18 <IfModule mod_userdir.c>
23 DocumentRoot /srv/static.debian.org/mirrors/$name/cur
24 <Directory /srv/static.debian.org/mirrors/$name/cur>
25 AllowOverride FileInfo Indexes Options=Multiviews
26 Options Indexes SymLinksIfOwnerMatch
27 IndexOptions FancyIndexing NameWidth=*
31 Header set Surrogate-Key <%= hostname %>
33 AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
35 Use vstatic-vhost-extra-$name
38 <Macro static-vhost-plain-$name>
39 <VirtualHost <%= vhost_listen %>>
42 ErrorLog /var/log/apache2/$name-error.log
43 CustomLog /var/log/apache2/$name-access.log privacy
45 Use static-vhost-base-$name
49 <Macro static-vhost-onion-$name $onion>
50 <VirtualHost <%= vhost_listen %>>
53 ErrorLog /var/log/apache2/$name-error.log
54 CustomLog /var/log/apache2/$name-access.log privacy
56 Use static-vhost-base-$name
60 <Macro static-vhost-ssl-$name>
61 <VirtualHost <%= vhost_listen_443 %>>
64 ErrorLog /var/log/apache2/$name-error.log
65 CustomLog /var/log/apache2/$name-access.log privacyssl
67 Use common-debian-service-ssl $name
71 Use static-vhost-base-$name