From: Peter Palfrader Date: Sat, 28 Oct 2017 08:44:49 +0000 (+0200) Subject: www: Split out onion hostname X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=cbc5e6d2e16802517ae217aabb65406c8a53bfeb;p=mirror%2Fdsa-puppet.git www: Split out onion hostname --- diff --git a/modules/roles/templates/apache-www.debian.org.erb b/modules/roles/templates/apache-www.debian.org.erb index a83717a9b..a26b91e7f 100644 --- a/modules/roles/templates/apache-www.debian.org.erb +++ b/modules/roles/templates/apache-www.debian.org.erb @@ -256,9 +256,6 @@ ServerName www.debian.org ServerAlias www-*.debian.org - <% if scope.function_onion_global_service_hostname(['www.debian.org']) -%> - ServerAlias <%= scope.function_onion_global_service_hostname(['www.debian.org']) %> - <% end %> Use common-www.d.o-inner @@ -280,6 +277,17 @@ Use common-ssl-HSTS +<% if scope.function_onion_global_service_hostname(['www.debian.org']) -%> + > + ErrorLog /var/log/apache2/www.debian.org-error.log + CustomLog /var/log/apache2/www.debian.org-access.log privacy + + ServerName <%= scope.function_onion_global_service_hostname(['www.debian.org']) %> + + Use common-www.d.o-inner + +<% end %> + # www other ###########