]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Try to enable ssl for dsa.d.o
authorPeter Palfrader <peter@palfrader.org>
Wed, 1 Jan 2014 16:14:56 +0000 (17:14 +0100)
committerPeter Palfrader <peter@palfrader.org>
Wed, 1 Jan 2014 16:14:56 +0000 (17:14 +0100)
modules/roles/templates/static-mirroring/static-vhost.conf.erb
modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb

index ab2bb4f8dfcc3005096ced7c76708dceb0553947..d9b636706d3c782c3d4f0f9482763549da209ae9 100644 (file)
 </Macro>
 
 
+<Macro common-static-vhost-ssl $name>
+       Use common-debian-service-https-redirect <%= vhost_listen %> $name
+
+       <Virtualhost <%= vhost_listen %>:443 >
+               ServerName $name
+               ServerAdmin debian-admin@lists.debian.org
+
+               ErrorLog /var/log/apache2/$name-error.log
+               CustomLog /var/log/apache2/$name-access.log privacy
+
+               Use common-debian-service-ssl $name
+               Use common-ssl-HSTS
+
+               Use common-static-base $name
+       </VirtualHost>
+</Macro>
+
 # vim:ft=apache:
index 6165aa8f6d0ff8b62e12bc84815502cd95077c4f..1da1eb5985a6ee938221efd4525c45cec475c7ce 100644 (file)
@@ -4,12 +4,12 @@ Use common-static-vhost mozilla.debian.net
 Use common-static-vhost backports.debian.org
 Use common-static-vhost-publiclog bits.debian.org
 Use common-static-vhost news.debian.net
-Use common-static-vhost dsa.debian.org
 Use common-static-vhost-with-extra ftp-master.metadata.debian.org "AddDefaultCharset utf-8"
 Use common-static-vhost-with-extra d-i.debian.org "ServerAlias d-i-backend.debian.org"
 Use common-static-vhost-with-extra network-test.debian.org "ServerAlias network-test-backend.debian.org"
 Use common-static-vhost-with-extra blends.debian.org "ServerAlias blends-backend.debian.org"
 Use common-static-vhost-with-extra wnpp-by-tags.debian.net "ServerAlias wnpp-by-tags-backend.debian.org"
+Use common-static-vhost-ssl dsa.debian.org
 
 # www.backports.org is the historical place for the backports
 # website and archive.  It is now a CNAME to backports.debian.org: