Fix mirror-health-security by skipping the security to security-cdn redirect
[mirror/dsa-puppet.git] / modules / roles / templates / security_mirror / security.debian.org.erb
index 80b6ee6..7d56aec 100644 (file)
@@ -43,6 +43,7 @@
    RewriteCond %{HTTP_USER_AGENT} "!Amazon CloudFront"
    RewriteCond %{HTTP_USER_AGENT} "!check_http"
    RewriteCond %{HTTP_USER_AGENT} "!dsa-check-mirrorsync"
+   RewriteCond %{HTTP_USER_AGENT} "!mirror-health"
    <% if scope.function_onion_global_service_hostname(['security.debian.org']) -%>
    RewriteCond %{HTTP_HOST} "!=<%= scope.function_onion_global_service_hostname(['security.debian.org']) %>"
    <% end %>