Revert "redirect linux updates to security-cdn"
authorJulien Cristau <jcristau@debian.org>
Wed, 21 Jun 2017 08:51:09 +0000 (10:51 +0200)
committerJulien Cristau <jcristau@debian.org>
Wed, 21 Jun 2017 08:51:09 +0000 (10:51 +0200)
This reverts commit e0525b0198da806181c009520758274cf1d05995.

modules/roles/templates/security_mirror/security.debian.org.erb

index a0c2ecc..95d067a 100644 (file)
    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