Unanswered
Hi Everyone
Trying To Add Cloudflare R2 Storage To Api.Files_Server Or Sdk.Development.Default_Output_Uri As Https://<Id>.
@<1523701087100473344:profile|SuccessfulKoala55> Thanks!
After some research this config works:s3 {
key: "<AWS_ACCESS_KEY_ID>"
secret: "<AWS_SECRET_ACCESS_KEY>"
region: "auto"
use_credentials_chain: true
credentials: [
# specifies key/secret credentials to use when handling s3 urls (read or write)
{
host: "<id>.
r2.cloudflarestorage.com "
bucket: "<bucket_name>"
key: "<AWS_ACCESS_KEY_ID>"
secret: "<AWS_SECRET_ACCESS_KEY>"
multipart: false
secure: true
}
]
}
And output_uri in this format “s3://<id>. r2.cloudflarestorage.com/ <bucket_name>”
121 Views
0
Answers
one year ago
one year ago