Skip to content

How do I configure a Backblaze bucket for self-hosting? #1764

Closed Answered by mnvr
forabi asked this question in Q&A
Discussion options

You must be logged in to vote

I can't answer in an authoritative manner, but at a glance it seems like the config in your case is missing the s3_* operations from the allowed operations list. I'll just copy paste an working B2 CORS config someone shared on our community Discord recently (again, I'm not vouching for its correctness, or if it is the most secure, just sharing in case it helps):

[
  {
    "corsRuleName": "entephotos",
    "allowedOrigins": [
      "*"
    ],
    "allowedHeaders": [
      "*"
    ],
    "allowedOperations": [
      "b2_download_file_by_id",
      "b2_download_file_by_name",
      "b2_upload_file",
      "b2_upload_part",
      "s3_get",
      "s3_post",
      "s3_put",
      "s3_head"
    …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@mnvr
Comment options

Answer selected by forabi
Comment options

You must be logged in to vote
1 reply
@mnvr
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants