X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Froles%2Ftemplates%2Fapache-www.debian.org.erb;h=3077114a4c23ece1e394baae05f36d923dd3a667;hb=836eff39ec561176cd00cc2d7b4e66e9668a25ee;hp=5c9d12506e0fc2398f8aeb9d92994eb40debcc96;hpb=107f559934a6ad06102b93265b8149d8fc060a34;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/templates/apache-www.debian.org.erb b/modules/roles/templates/apache-www.debian.org.erb index 5c9d12506..3077114a4 100644 --- a/modules/roles/templates/apache-www.debian.org.erb +++ b/modules/roles/templates/apache-www.debian.org.erb @@ -150,6 +150,10 @@ ServerName www.debian.org ServerAdmin webmaster@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 %> + DocumentRoot <%= wwwdo_document_root %>/ # CacheNegotiatedDocs: By default, Apache sends Pragma: no-cache with each @@ -310,6 +314,6 @@ Redirect permanent / https://www.debian.org/ - Use common-debian-service-ssl www.debian.org + Use common-debian-service-ssl debian.org Use common-ssl-HSTS