From dd55020ac8fe5089902f560429cbad3f9d0dbed9 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 3 Nov 2016 14:37:56 +0100 Subject: [PATCH] Comment out security linux -> cdn redirect --- .../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 1724b82b9..dc96ff218 100644 --- a/modules/roles/templates/security_mirror/security.debian.org.erb +++ b/modules/roles/templates/security_mirror/security.debian.org.erb @@ -39,18 +39,18 @@ RewriteEngine on RewriteRule ^/$ http://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] # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. -- 2.20.1