HTL荒らしいいね
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
B2の今の仕様
- PublicなFileはf002.backblazeb2.com/file/<bucket-name>/ 以下に入る(Friendly URL)
- S3互換のURLは <bucket-name>.s3.us-west-002.backblazeb2.com/ (S3 URL)
- CNAME用のカスタムドメイン設定が存在しないためS3互換のURLはCloudflare挟めない(Friendly URLのほうなら挟める)
Mastodonで使うときはS3_ALIAS_HOSTに
- Cf挟まない前提でS3互換のhostを指定
- Cf挟んで「<Cfで設定したhost>/file/<bucket-name>」を指定
などの妥協をする必要があるはず(まだ試してはいない)
This account is not set to public on notestock.
適当な例 リンクプレビュー回避のためh抜き
存在するファイル
Friendly) ttps://media-test.heguro.com/file/media-test-heguro-com/index.html
S3) ttps://media-test-heguro-com.s3.us-west-002.backblazeb2.com/index.html
特に変わらない
存在しないファイル
Friendly) ttps://media-test.heguro.com/file/media-test-heguro-com/a
S3) ttps://media-test-heguro-com.s3.us-west-002.backblazeb2.com/a
Friendlyだとjsonで404が返る
S3だとxmlで何故か401が返る
パス何も指定しないときindex.htmlが返ることはなかった
This account is not set to public on notestock.