Open mikecole79 opened 1 year ago
This is actually reasonably complicated to change since the /bucket/file is burnt into rclone at a low level.
Can you put redirects in your cloudflare proxy?
I will try to figure out how to change it. It was a pain to setup, so I'll have to dig into the documentation and figure it out.
Thank you for looking at it.
Mike Cole
On Sat, Aug 5, 2023, 04:49 Nick Craig-Wood @.***> wrote:
This is actually reasonably complicated to change since the /bucket/file is burnt into rclone at a low level.
Can you put redirects in your cloudflare proxy?
— Reply to this email directly, view it on GitHub https://github.com/rclone/rclone/issues/7211#issuecomment-1666482758, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQ3WSGF3MREUOMZUJHJL63XTYXL5ANCNFSM6AAAAAA3E5VHUU . You are receiving this because you authored the thread.Message ID: @.***>
Have you found a solution? I just ran into the same issue: https://forum.rclone.org/t/backblaze-b2-integration-builds-wrong-url-for-cloudflare-cdn/42056
When using CloudFlare URL for B2 download, the root URL always add /file/ but my CF proxy already accounts for that
I was using version 1.63. Actually went so far as to download and compile myself with an edit to b2.go, but unsure if I did it correctly.
What problem are you are trying to solve?
B2 provides free downloads when using a CDN. On my CloudFlare setup, the download URL doesn't include /file/ but in rclone it adds ROOTURL + "/file/" + pathToFile
This breaks my setup.
How do you think rclone should be changed to solve that?
I think it would be best if you had to specify /file or /file/bucket in your URL and rclone treated the root URL you provide as everything needed before the actual file name.
How to use GitHub