X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Ftemplates%2Fapache-debug.mirrors.debian.org.erb;h=5d2ac23eb9155eb93e4036b49f17aebfb34b3ca9;hb=5905a749d7ea24bdf1d035280fd3d7ba72e643a9;hp=51c4545d462270578b3b985a4e520a366b62f28a;hpb=dd58830d6f8557e2f442905a655ca78bfe69dfe4;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/templates/apache-debug.mirrors.debian.org.erb b/modules/roles/templates/apache-debug.mirrors.debian.org.erb index 51c4545d4..5d2ac23eb 100644 --- a/modules/roles/templates/apache-debug.mirrors.debian.org.erb +++ b/modules/roles/templates/apache-debug.mirrors.debian.org.erb @@ -6,6 +6,9 @@ > ServerAdmin debian-admin@debian.org ServerName debug.mirrors.debian.org + <% if scope.function_onion_global_service_hostname(['debug.mirrors.debian.org']) -%> + ServerAlias <%= scope.function_onion_global_service_hostname(['debug.mirrors.debian.org']) %> + <% end %> RedirectMatch "^/$" /debian-debug/ Alias /debian-debug /srv/mirrors/debian-debug