3 <Macro common-ssl-HSTS>
4 <IfModule mod_headers.c>
5 # Add six months HSTS header
6 Header always add Strict-Transport-Security "max-age=15552000"
10 <Macro common-debian-service-ssl $name>
12 SSLCertificateFile /etc/ssl/debian/certs/$name.crt-chained
13 SSLCertificateKeyFile /etc/ssl/private/$name.key
16 <Macro common-debian-service-https-redirect $bind $name>
17 <VirtualHost $bind:80>
19 ServerAdmin debian-admin@lists.debian.org
21 CustomLog /var/log/apache2/$name-access.log privacy
22 ErrorLog /var/log/apache2/$name-error.log
24 Redirect permanent / https://$name/