From: Julien Cristau Date: Tue, 31 Jul 2018 05:34:50 +0000 (+0200) Subject: Make metadata-backend.ftp-master hopefully work X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;ds=inline;h=540895787469f8ce8e80c4976702dd02102b8de1;p=mirror%2Fdsa-puppet.git Make metadata-backend.ftp-master hopefully work --- 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 0af5e2ab3..6d9acf92d 100644 --- a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb +++ b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb @@ -73,10 +73,6 @@ - - Use vstatic-vhost-extra-metadata.ftp-master.debian.org> - - RewriteEngine on RewriteRule ^/migration/$ /migration/testing.pl @@ -218,7 +214,6 @@ vhost(lines, "cdbuilder-logs.debian.org" , :ssl => true) vhost(lines, "bits.debian.org" , :ssl => true, :extra => true) vhost(lines, "micronews.debian.org" , :ssl => true) vhost(lines, "metadata.ftp-master.debian.org", :extra => true) -vhost(lines, "metadata-backend.ftp-master.debian.org", :ssl => true, :ssl_optional => true, :extra => true) vhost(lines, "10years.debconf.org" , :ssl => true) vhost(lines, "debconf0.debconf.org" , :ssl => true) @@ -329,6 +324,17 @@ Use common-dsa-vhost-https-redirect video.debconf.org Redirect / https://debconf-video-team.pages.debian.net/docs/ +<% if scope.function_has_static_component(['metadata.ftp-master.debian.org']) -%> + > + ServerName metadata-backend.ftp-master.debian.org + Use common-debian-service-ssl metadata-backend.ftp-master.debian.org + ErrorLog /var/log/apache2/metadata-backend.ftp-master.debian.org-error.log + CustomLog /var/log/apache2/metadata-backend.ftp-master.debian.org-access.log privacy + + Use static-vhost-base-metadata.ftp-master.debian.org + +<% end -%> + # historical sites ################## # now only redirects remain