# puppet maintained
>
ServerName $name
ServerAdmin debian-admin@lists.debian.org
CustomLog /var/log/apache2/$name-access.log privacy
ErrorLog /var/log/apache2/$name-error.log
Redirect permanent / https://$name/
>
ServerName $name
ServerAdmin debian-admin@lists.debian.org
CustomLog /var/log/apache2/$name-access.log privacy
ErrorLog /var/log/apache2/$name-error.log
Redirect / https://$name/
UserDir disabled
ServerSignature On
DocumentRoot /srv/static.debian.org/mirrors/$name/cur
AllowOverride FileInfo Indexes Options=Multiviews
Options Indexes SymLinksIfOwnerMatch
IndexOptions FancyIndexing NameWidth=*
Require all granted
Header set Surrogate-Key <%= hostname %>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
>
ServerName $name
ServerAlias $onion
ServerAdmin debian-admin@lists.debian.org
ErrorLog /var/log/apache2/$name-error.log
CustomLog /var/log/apache2/$name-access.log privacy
Use common-static-base $name
Use vhost-$name-extra
# mod macro does not like empty macros, so here's some content:
Use common-static-vhost-with-extra $name $onion
Use common-dsa-vhost-https-redirect $name
>
ServerName $name
ServerAdmin debian-admin@lists.debian.org
ErrorLog /var/log/apache2/$name-error.log
CustomLog /var/log/apache2/$name-access.log privacyssl
Use common-debian-service-ssl $name
Use common-ssl-HSTS
Use common-static-base $name
>
ServerName $onion
ServerAdmin debian-admin@lists.debian.org
ErrorLog /var/log/apache2/$name-error.log
CustomLog /var/log/apache2/$name-access.log privacyssl
Use common-static-base $name
# vim:ft=apache: