# puppet maintained
<Macro common-dsa-vhost-https-redirect $name>
- <VirtualHost <%= vhost_listen %> >
+ <VirtualHost <%= @vhost_listen %> >
ServerName $name
ServerAdmin debian-admin@lists.debian.org
<Directory /srv/static.debian.org/mirrors/$name/cur>
AllowOverride FileInfo Indexes Options=Multiviews
Options Indexes SymLinksIfOwnerMatch
- IndexOptions FancyIndexing NameWidth=*
Require all granted
</Directory>
- Header set Surrogate-Key <%= hostname %>
+ Header set Surrogate-Key <%= @hostname %>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
</Macro>
<Macro static-vhost-plain-$name>
- <VirtualHost <%= vhost_listen %>>
+ <VirtualHost <%= @vhost_listen %>>
ServerName $name
ErrorLog /var/log/apache2/$name-error.log
</Macro>
<Macro static-vhost-onion-$name $onion>
- <VirtualHost <%= vhost_listen %>>
+ <VirtualHost <%= @vhost_listen %>>
ServerName $onion
ErrorLog /var/log/apache2/$name-error.log
</Macro>
<Macro static-vhost-ssl-$name>
- <VirtualHost <%= vhost_listen_443 %>>
+ <VirtualHost <%= @vhost_listen_443 %>>
ServerName $name
ErrorLog /var/log/apache2/$name-error.log
Use common-debian-service-ssl $name
Use common-ssl-HSTS
+ Use http-pkp-$name
Use static-vhost-base-$name
</VirtualHost>