<% if scope.function_onion_global_service_hostname(['security.debian.org']) -%>
RewriteCond %{HTTP_HOST} "!=<%= scope.function_onion_global_service_hostname(['security.debian.org']) %>"
<% end %>
RewriteCond %{REQUEST_URI} "!=/_health"
RewriteRule ^/(.*) http://security-cdn.debian.org/$1 [L,R=302]
<% if scope.function_onion_global_service_hostname(['security.debian.org']) -%>
RewriteCond %{HTTP_HOST} "!=<%= scope.function_onion_global_service_hostname(['security.debian.org']) %>"
<% end %>
RewriteCond %{REQUEST_URI} "!=/_health"
RewriteRule ^/(.*) http://security-cdn.debian.org/$1 [L,R=302]