Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Payload with Cloudflare R2

default discord avatar
jm.sv3 months ago
4

Nevermind! I removed my personal IP from the "Client IP" options in the API Key and it works as expected



@407601931100487710

@193536975377006592

did your configs look like this? I'm getting an "unauthorized" response when trying to upload. Did you have to configure your local IP / do anything on the Cloudflare dasboard aside from creating the API key with the rihgt permissions?

  • default discord avatar
    unit6last year

    Same here, it just worked out of the box with the official cloud storage plugin

  • default discord avatar
    nnadlast year

    That's cool! Thanks for the answer.

  • default discord avatar
    nlvogellast year

    I do this. I didn't have to configure anything different than the walkthrough in the AWS adapter. Set "region" to auto.

  • default discord avatar
    nnadlast year

    I was wondering if you could use R2 with the AWS adapter, since Cloudflare supports using AWS SDK. Had anyone tried doing this or is this just a bad idea?

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.