backend server aliases for archive, debug, debian, and security
authorPeter Palfrader <peter@palfrader.org>
Fri, 24 Feb 2017 09:14:56 +0000 (10:14 +0100)
committerPeter Palfrader <peter@palfrader.org>
Fri, 24 Feb 2017 09:14:56 +0000 (10:14 +0100)
modules/roles/templates/apache-archive.debian.org.erb
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 6dad6dc..84026e8 100644 (file)
@@ -18,6 +18,8 @@
        <% if scope.function_onion_global_service_hostname(['archive.debian.org']) -%>
        ServerAlias <%= scope.function_onion_global_service_hostname(['archive.debian.org']) %>
        <% end %>
+       ServerAlias archive.backend.mirrors.debian.org
+       ServerAlias *.archive.backend.mirrors.debian.org
 
        #RedirectMatch "^/$" /debian-archive/
        DocumentRoot <%= archive_root %>/
index 8117817..b57df66 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
        ServerAlias *.debug.backend.mirrors.debian.org
 
        RedirectMatch "^/$" /debian-debug/
index f964c01..339f934 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
        ServerAlias *.debian.backend.mirrors.debian.org
 
        RedirectMatch "^/$" /debian/
index 1f4cf6a..ee839cd 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
    ServerAlias *.security.backend.mirrors.debian.org
    ServerAlias security.anycast-test.mirrors.debian.org