static-mirroring: add common-static-vhost-ssl-with-extra macro
authorJulien Cristau <jcristau@debian.org>
Sat, 2 Jan 2016 22:22:20 +0000 (23:22 +0100)
committerJulien Cristau <jcristau@debian.org>
Sat, 2 Jan 2016 22:22:20 +0000 (23:22 +0100)
Signed-off-by: Julien Cristau <jcristau@debian.org>
modules/roles/templates/static-mirroring/static-vhost.conf.erb

index 6b857fc..6c7ad11 100644 (file)
@@ -66,7 +66,7 @@
 </Macro>
 
 
-<Macro common-static-vhost-ssl $name>
+<Macro common-static-vhost-ssl-with-extra $name $extra>
        Use common-dsa-vhost-https-redirect $name
 
        <Virtualhost <%= vhost_listen_443 %> >
                Use common-ssl-HSTS
 
                Use common-static-base $name
+               $extra
        </VirtualHost>
 </Macro>
 
+<Macro common-static-vhost-ssl $name>
+       Use common-static-vhost-ssl-with-extra $name "# nada"
+</Macro>
+
 # vim:ft=apache: