From cd4d8d55ec898ecc8f6908437a370ef68471b19f Mon Sep 17 00:00:00 2001 From: GGG KILLER Date: Wed, 17 Nov 2021 12:10:20 -0300 Subject: [PATCH] docs: add a note about the B2 download_url format Currently the B2 docs don't specify which format the download_url setting should have, and if you input it wrong, there is nothing in the verbose logs or anywhere else that can let you know that. --- backend/b2/b2.go | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/backend/b2/b2.go b/backend/b2/b2.go index b96feb225..d347c3c8e 100644 --- a/backend/b2/b2.go +++ b/backend/b2/b2.go @@ -160,7 +160,15 @@ free egress for data downloaded through the Cloudflare network. 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.`, +Leave blank if you want to use the endpoint provided by Backblaze. + +The URL provided here SHOULD have the protocol and SHOULD NOT have +a trailing slash or specify the /file/bucket subpath as rclone will +request files with "{download_url}/file/{bucket_name}/{path}". + +Example: +> https://mysubdomain.mydomain.tld +(No trailing "/", "file" or "bucket")`, Advanced: true, }, { Name: "download_auth_duration",