From 335f35f098bc79131580c80a866c98440f0941ae Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Sat, 3 Nov 2018 16:11:23 +0100 Subject: [PATCH] Exclude dsa-check-mirrorsync nagios check from security to security-cdn redirect --- modules/roles/templates/security_mirror/security.debian.org.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/roles/templates/security_mirror/security.debian.org.erb b/modules/roles/templates/security_mirror/security.debian.org.erb index ce8e82a2b..1af877d2e 100644 --- a/modules/roles/templates/security_mirror/security.debian.org.erb +++ b/modules/roles/templates/security_mirror/security.debian.org.erb @@ -42,6 +42,7 @@ RewriteCond %{HTTP:Fastly-Client-IP} !. [NV] RewriteCond %{HTTP_USER_AGENT} "!Amazon CloudFront" RewriteCond %{HTTP_USER_AGENT} "!check_http" + RewriteCond %{HTTP_USER_AGENT} "!dsa-check-mirrorsync" <% if scope.function_onion_global_service_hostname(['security.debian.org']) -%> RewriteCond %{HTTP_HOST} "!=<%= scope.function_onion_global_service_hostname(['security.debian.org']) %>" <% end %> @@ -49,6 +50,7 @@ RewriteCond %{HTTP:Fastly-Client-IP} !. [NV] RewriteCond %{HTTP_USER_AGENT} "!Amazon CloudFront" RewriteCond %{HTTP_USER_AGENT} "!check_http" + RewriteCond %{HTTP_USER_AGENT} "!dsa-check-mirrorsync" <% if scope.function_onion_global_service_hostname(['security.debian.org']) -%> RewriteCond %{HTTP_HOST} "!=<%= scope.function_onion_global_service_hostname(['security.debian.org']) %>" <% end %> -- 2.20.1