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=200d4e9437ffeb4ea48c9367201d59fe9b06e508;hp=f20d4b609e986b2f3c58e8611ca8743b67e1e99f;hpb=65139996ecd9fed4bb7498e6ac9e73fdaa6920ac;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 f20d4b609..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 @@ -20,6 +23,5 @@ Options +Indexes Options +FollowSymLinks + Use ftp-archive /srv/mirrors/debian-debug - -