Closed nagaame closed 6 months ago
Hello, I used your library on my Ghost blog instance, but when using cloudflare R2 storage, my configuration kept failing and couldn't connect. Could you please help me improve my configuration?
// ...... "storage": { "active": "s3", "media": { "adapter": "s3" }, "files": { "adapter": "s3" }, "s3": { "accessKeyId": "xxxxxxxxxxxxxxxxxxxxxxxxxxx", "secretAccessKey": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "region": "wnam", "bucket": "storage", "assetHost": "https://storage.domain.com", "pathPrefix": "", "endpoint": "https://dcexxxxxxxxxxxxxxxxxxxxxxxxxxx.r2.cloudflarestorage.com", "forcePathStyle": true, "acl": "" } }
I have placed all my folders in the root directory.
According to R2 S3 compatibility doc, you should specify region = auto.
region
auto
Hello, I used your library on my Ghost blog instance, but when using cloudflare R2 storage, my configuration kept failing and couldn't connect. Could you please help me improve my configuration?
I have placed all my folders in the root directory.