Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不同 S3 Provider 的配置方法 #28

Open
wayjam opened this issue Apr 26, 2023 · 4 comments
Open

不同 S3 Provider 的配置方法 #28

wayjam opened this issue Apr 26, 2023 · 4 comments
Labels
documentation Improvements or additions to documentation

Comments

@wayjam
Copy link
Owner

wayjam commented Apr 26, 2023

AWS S3

  • AWS S3 一般无需自定义 endpoint
"aws-s3": {
  "acl": "private",
  "bucketName": "example-bucket-name",
  "endpoint": "",
  "pathStyleAccess": false,
  "region": "ap-southeast-1",
  "rejectUnauthorized": false,
  "accessKeyID": "your-id",
  "secretAccessKey": "your-key",
  "uploadPath": "{year}/{month}/{md5}.{extName}",
  "urlPrefix": ""
}

Cloudfare R2

  • 如页面上显示 endpoint 为 https://example-id.r2.cloudflarestorage.com/example-bucket-name 则需自行去除桶名并填入 bucketName
  • pathStyleAccess=true
"aws-s3": {
  "acl": "private",
  "bucketName": "example-bucket-name",
  "endpoint": "https://example-id.r2.cloudflarestorage.com",
  "pathStyleAccess": true,
  "region": "",
  "rejectUnauthorized": false,
  "accessKeyID": "your-id",
  "secretAccessKey": "your-key",
  "uploadPath": "{year}/{month}/{md5}.{extName}",
  "urlPrefix": ""
}

Backblaze B2

直接填入Backblaze页面所提供的 endpoint。B2 使用 S3 API上传不能直接使用 Master Key,需新建 Application Key 使用。

"aws-s3": {
  "acl": "private",
  "bucketName": "example-bucket-name",
  "endpoint": "https://s3.us-west-000.backblazeb2.com",
  "pathStyleAccess": false,
  "region": "",
  "rejectUnauthorized": false,
  "accessKeyID": "your-id",
  "secretAccessKey": "your-key",
  "uploadPath": "{year}/{month}/{md5}.{extName}",
  "urlPrefix": ""
}

Minio

  • pathStyleAccess=true
"aws-s3": {
  "acl": "private",
  "bucketName": "example-bucket-name",
  "endpoint": "http://example.com:9090",
  "pathStyleAccess": true,
  "region": "",
  "rejectUnauthorized": false,
  "accessKeyID": "your-id",
  "secretAccessKey": "your-key",
  "uploadPath": "{year}/{month}/{md5}.{extName}",
  "urlPrefix": ""
}
@wangyunsi
Copy link

已解决,全部选否就可以了,感谢。

@Nicolas-XF
Copy link

Backblaze B2 这个配置文件在哪里打开 ?

我在图形界面设置了, 老是上传失败

image

@wayjam
Copy link
Owner Author

wayjam commented Jul 29, 2023

Backblaze B2 这个配置文件在哪里打开 ?

我在图形界面设置了, 老是上传失败

image

#33

@XuHandsome
Copy link

请问支持Ceph 的RGW 存储桶吗,也是S3风格的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants