I just created a R2 bucket, set it to have public access and even connected a sub-domain like static.website.com to this bucket.
Although the weird part is that i upload a file and whenever i try to access it via web, i get Authorization error.
What could it be wrong?
Does it work from the public bucket URL? Something like
That’s not the public bucket URL. That’s the S3 endpoint that needs an API key to access.
The public bucket name is in the Bucket Access section:
The good news is that yours works:
Feel a bit stupid, hehe! Thanks a million!
Quick additional info: I run a medium size SaaS with clients located ALL around the world. Shall i move my images, CSS and JS files to R2? Will, it has any actual difference in speed since i already use Edge Cache to be one month?
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.