I am following backblaze's instructions to serve a static webpage through cloudflare.
Part of this involves creating a cloudflare 'page rule' which directs from the domain to the backblaze bucket, for example the forwarding rule:
example.com -> https://f000.backblazeb2.com/file/example-bucket/index.html
This works to serve the page. The one problem I have is with the url that appears in the browser's address bar. Instead of example.com it shows f000.backblazeb2.com/file/example-bucket/index.html. Is there a cloudflare page rule that can serve the backblaze bucket while keeping the original domain appearing in the browser's address bar?
UPDATE:
I found that with a 'Forwarding URL' page rule with origin URL https://example.com/ and destination URL https://example.com/file/example-bucket/index.html, then when navigating to example.com the browser will at least display example.com/file/example-bucket/index.html in the address bar. This at least verifies to the user that what they are looking at is under the intended domain. It would still be good to have just the domain appear without the following /file/example-bucket/, as that is not relevant to the organization of the site, only to the bucket in which the content is stored. Is there a way to get something more like example.com/index.html from example.com/file/example-bucket/index.html?