From 031b99a88709cb7aa20f4c04b541a31eca053bd4 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 29 Jul 2016 17:24:49 +0000 Subject: [PATCH] onion for lintian --- .../vhost/lintian.debian.org.erb | 21 ++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/modules/roles/templates/static-mirroring/vhost/lintian.debian.org.erb b/modules/roles/templates/static-mirroring/vhost/lintian.debian.org.erb index 4e45371d6..89a74d0f7 100644 --- a/modules/roles/templates/static-mirroring/vhost/lintian.debian.org.erb +++ b/modules/roles/templates/static-mirroring/vhost/lintian.debian.org.erb @@ -2,16 +2,12 @@ Use common-dsa-vhost-https-redirect lintian.debian.org - > - ServerName lintian.debian.org + ServerAdmin lintian-maint@debian.org ErrorLog /var/log/apache2/lintian.debian.org-error.log CustomLog /var/log/apache2/lintian.debian.org-access.log privacyssl - Use common-debian-service-ssl lintian.debian.org - Use common-ssl-HSTS - UserDir disabled @@ -54,7 +50,22 @@ Use common-dsa-vhost-https-redirect lintian.debian.org RewriteRule ^/source/([a-z0-9-]+)/?$ /${source-map:$1} [L,R,NE] # Versioned request RewriteRule ^/source/([a-z0-9-]+)/([a-zA-Z0-9.+:~-]+)$ /${source-map:$1/$2} [L,R,NE] + + + > + ServerName lintian.debian.org + Use common-debian-service-ssl lintian.debian.org + Use common-ssl-HSTS + + Use vhost-inner-lintian.debian.org + + +<% if scope.function_onion_global_service_hostname(['lintian.debian.org']) -%> + > + ServerName <%= scope.function_onion_global_service_hostname(['lintian.debian.org']) %> + Use vhost-inner-lintian.debian.org +<% end %> <% end -%> # vim:set syn=apache: -- 2.20.1