Remove dak -> backports sudo entry that is apparently unused (because it used a wrong...
[mirror/dsa-puppet.git] / modules / roles / templates / static-mirroring / static-vhost.conf.erb
index 7202edc..89f6c3e 100644 (file)
@@ -36,7 +36,7 @@
 </Macro>
 
 <Macro static-vhost-plain-$name>
-       <VirtualHost *:80>
+       <VirtualHost <%= vhost_listen %>>
                ServerName $name
 
                ErrorLog /var/log/apache2/$name-error.log
@@ -47,7 +47,7 @@
 </Macro>
 
 <Macro static-vhost-onion-$name $onion>
-       <VirtualHost *:80>
+       <VirtualHost <%= vhost_listen %>>
                ServerName $onion
 
                ErrorLog /var/log/apache2/$name-error.log
@@ -58,7 +58,7 @@
 </Macro>
 
 <Macro static-vhost-ssl-$name>
-       <VirtualHost *:443>
+       <VirtualHost <%= vhost_listen_443 %>>
                ServerName $name
 
                ErrorLog /var/log/apache2/$name-error.log
@@ -66,6 +66,7 @@
 
                Use common-debian-service-ssl $name
                Use common-ssl-HSTS
+               Use http-pkp-$name
 
                Use static-vhost-base-$name
        </VirtualHost>