From: Julien Cristau Date: Mon, 2 Apr 2018 18:31:56 +0000 (+0200) Subject: Set up lists.alioth.debian.org to alioth-lists.debian.net redirect X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=b25a9e1068d58a5465c472f88a7d9e0f6db983d1;p=mirror%2Fdsa-puppet.git Set up lists.alioth.debian.org to alioth-lists.debian.net redirect --- diff --git a/modules/roles/manifests/static_mirror.pp b/modules/roles/manifests/static_mirror.pp index 96e607cac..ebccd14fe 100644 --- a/modules/roles/manifests/static_mirror.pp +++ b/modules/roles/manifests/static_mirror.pp @@ -106,6 +106,7 @@ class roles::static_mirror { ssl::service { 'incoming.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, } ssl::service { 'incoming.ports.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, } ssl::service { 'lintian.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, } + ssl::service { 'lists.alioth.debian.org' : ensure => "present", notify => Exec['service apache2 reload'], key => true, } ssl::service { 'manpages.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, } ssl::service { 'mirror-master.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, } ssl::service { 'onion.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, } diff --git a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb index fea7de7e5..74656a293 100644 --- a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb +++ b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb @@ -298,6 +298,15 @@ lines.join("\n") Use common-ssl-HSTS +Use common-dsa-vhost-https-redirect lists.alioth.debian.org + > + ServerName lists.alioth.debian.org + ServerAdmin debian-admin@debian.org + Use common-debian-service-ssl lists.alioth.debian.org + Use common-ssl-HSTS + Redirect / https://alioth-lists.debian.net/ + + # historical sites ################## # now only redirects remain