b2: docs for download_url with private buckets

The current authentication scheme works without creating
a public download endpoint for a private bucket as in the B2 official blog.
On the contrary, if the existing authorization header gets duplicated
in the Cloudflare Workers script, one might receive 401 Unauthorized errors.
This commit is contained in:
Kerry Su 2020-12-30 11:45:52 +08:00 committed by Nick Craig-Wood
parent 2af7b61fc3
commit add7a35e55
1 changed files with 3 additions and 1 deletions

View File

@ -155,7 +155,9 @@ to start uploading.`,
This is usually set to a Cloudflare CDN URL as Backblaze offers
free egress for data downloaded through the Cloudflare network.
This is probably only useful for a public bucket.
Rclone works with private buckets by sending an "Authorization" header.
If the custom endpoint rewrites the requests for authentication,
e.g., in Cloudflare Workers, this header needs to be handled properly.
Leave blank if you want to use the endpoint provided by Backblaze.`,
Advanced: true,
}, {