From 5f13c461fbe5f32e71b783cf76309c3f993bebf2 Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Sat, 1 Jul 2017 21:57:58 +0200 Subject: [PATCH] Revert "redirect linux updates to security-cdn" This reverts commit b6f21532b07dfcb35d059d46913c306ea19c50e8. --- .../security_mirror/security.debian.org.erb | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/modules/roles/templates/security_mirror/security.debian.org.erb b/modules/roles/templates/security_mirror/security.debian.org.erb index a0c2ecc13..95d067ad6 100644 --- a/modules/roles/templates/security_mirror/security.debian.org.erb +++ b/modules/roles/templates/security_mirror/security.debian.org.erb @@ -34,18 +34,18 @@ RewriteEngine on RewriteRule ^/$ https://www.debian.org/security/ - RewriteCond %{HTTP:Fastly-Client-IP} !. [NV] - RewriteCond %{HTTP_USER_AGENT} "!Amazon CloudFront" - <% if scope.function_onion_global_service_hostname(['security.debian.org']) -%> - RewriteCond %{HTTP_HOST} "!=<%= scope.function_onion_global_service_hostname(['security.debian.org']) %>" - <% end %> - RewriteRule ^/(pool/updates/main/l/linux/.*) http://security-cdn.debian.org/$1 [L,R=302] - RewriteCond %{HTTP:Fastly-Client-IP} !. [NV] - RewriteCond %{HTTP_USER_AGENT} "!Amazon CloudFront" - <% if scope.function_onion_global_service_hostname(['security.debian.org']) -%> - RewriteCond %{HTTP_HOST} "!=<%= scope.function_onion_global_service_hostname(['security.debian.org']) %>" - <% end %> - RewriteRule ^/debian-security/(pool/updates/main/l/linux/.*) http://security-cdn.debian.org/$1 [L,R=302] + #RewriteCond %{HTTP:Fastly-Client-IP} !. [NV] + #RewriteCond %{HTTP_USER_AGENT} "!Amazon CloudFront" + #<% if scope.function_onion_global_service_hostname(['security.debian.org']) -%> + #RewriteCond %{HTTP_HOST} "!=<%= scope.function_onion_global_service_hostname(['security.debian.org']) %>" + #<% end %> + #RewriteRule ^/(pool/updates/main/l/linux/.*) http://security-cdn.debian.org/$1 [L,R=302] + #RewriteCond %{HTTP:Fastly-Client-IP} !. [NV] + #RewriteCond %{HTTP_USER_AGENT} "!Amazon CloudFront" + #<% if scope.function_onion_global_service_hostname(['security.debian.org']) -%> + #RewriteCond %{HTTP_HOST} "!=<%= scope.function_onion_global_service_hostname(['security.debian.org']) %>" + #<% end %> + #RewriteRule ^/debian-security/(pool/updates/main/l/linux/.*) http://security-cdn.debian.org/$1 [L,R=302] CustomLog /var/log/apache2/security.debian.org-access.log privacy ServerSignature On -- 2.20.1