Snapshot: do requests for /file/<hash> directly from the filesystem
[mirror/dsa-puppet.git] / modules / roles / templates / security_mirror / security.debian.org.erb
index 9e48721..7d56aec 100644 (file)
    RewriteCond %{HTTP_USER_AGENT} "!Amazon CloudFront"
    RewriteCond %{HTTP_USER_AGENT} "!check_http"
    RewriteCond %{HTTP_USER_AGENT} "!dsa-check-mirrorsync"
+   RewriteCond %{HTTP_USER_AGENT} "!mirror-health"
    <% 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]
 
-   CustomLog /var/log/apache2/security.debian.org-access.log privacy
+   CustomLog /var/log/apache2/security.debian.org-access.log combined
    ServerSignature On
 </VirtualHost>