From: Julien Cristau Date: Thu, 20 Oct 2016 17:47:00 +0000 (+0200) Subject: Fixup apache config syntax error X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=80157d07c8cbe9cb187308b8a6012006de623a8e;p=mirror%2Fdsa-puppet.git Fixup apache config syntax error --- diff --git a/modules/roles/templates/security_mirror/security.debian.org.erb b/modules/roles/templates/security_mirror/security.debian.org.erb index 3d2e0f1e2..1724b82b9 100644 --- a/modules/roles/templates/security_mirror/security.debian.org.erb +++ b/modules/roles/templates/security_mirror/security.debian.org.erb @@ -40,13 +40,13 @@ RewriteRule ^/$ http://www.debian.org/security/ RewriteCond %{HTTP:Fastly-Client-IP} !. [NV] - RewriteCond %{HTTP_USER_AGENT} !"Amazon CloudFront" + 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" + 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 %>