From: Peter Palfrader Date: Fri, 29 Jul 2016 18:05:22 +0000 (+0000) Subject: onion for www.ports.debian.org X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=1914af73e5e8f62c3058ac19135802a7777acbb6;p=mirror%2Fdsa-puppet.git onion for www.ports.debian.org --- 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 fe858846b..834c5d992 100644 --- a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb +++ b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb @@ -177,16 +177,12 @@ Use common-dsa-vhost-https-redirect release.debian.org Use common-dsa-vhost-https-redirect www.ports.debian.org - > - ServerName www.ports.debian.org - ServerAlias www.ports-backend.debian.org + ServerAdmin debian-admin@lists.debian.org ErrorLog /var/log/apache2/www.ports.debian.org-error.log CustomLog /var/log/apache2/www.ports.debian.org-access.log privacy - Use common-debian-service-ssl www.ports.debian.org - Use common-ssl-HSTS UserDir disabled @@ -203,7 +199,21 @@ Use common-dsa-vhost-https-redirect www.ports.debian.org AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css AddOutputFilter INCLUDES .xhtml + + + > + ServerName www.ports.debian.org + ServerAlias www.ports-backend.debian.org + Use common-debian-service-ssl www.ports.debian.org + Use common-ssl-HSTS + Use vhost-inner-www.ports.debian.org +<% if scope.function_onion_global_service_hostname(['www.ports.debian.org']) -%> + > + ServerName <%= scope.function_onion_global_service_hostname(['www.ports.debian.org']) %> + Use vhost-inner-www.ports.debian.org + +<% end -%> <% end -%> >