Add server alias for $location.$archive.backend.mirrors.debian.org
authorPeter Palfrader <peter@palfrader.org>
Thu, 23 Feb 2017 15:59:54 +0000 (16:59 +0100)
committerPeter Palfrader <peter@palfrader.org>
Thu, 23 Feb 2017 15:59:54 +0000 (16:59 +0100)
modules/roles/templates/apache-debug.mirrors.debian.org.erb
modules/roles/templates/apache-ftp.debian.org.erb
modules/roles/templates/security_mirror/security.debian.org.erb

index bcc57d6..8117817 100644 (file)
@@ -9,6 +9,7 @@
        <% if scope.function_onion_global_service_hostname(['debug.mirrors.debian.org']) -%>
        ServerAlias <%= scope.function_onion_global_service_hostname(['debug.mirrors.debian.org']) %>
        <% end %>
+       ServerAlias *.debug.backend.mirrors.debian.org
 
        RedirectMatch "^/$" /debian-debug/
        Alias /debian-debug /srv/mirrors/debian-debug
index 972603d..7525587 100644 (file)
@@ -10,6 +10,7 @@
        <% if scope.function_onion_global_service_hostname(['ftp.debian.org']) -%>
        ServerAlias <%= scope.function_onion_global_service_hostname(['ftp.debian.org']) %>
        <% end %>
+       ServerAlias *.debian.backend.mirrors.debian.org
 
        RedirectMatch "^/$" /debian/
        Alias /debian/ <%= archive_root %>/
index 130dca9..f28b498 100644 (file)
@@ -20,6 +20,7 @@
    <% if scope.function_onion_global_service_hostname(['security.debian.org']) -%>
    ServerAlias <%= scope.function_onion_global_service_hostname(['security.debian.org']) %>
    <% end %>
+   ServerAlias *.security.backend.mirrors.debian.org
 
 
    ExpiresActive On