# 如何正确设置S3 bucket（非Amazon URL）？

**URL:** <https://meta.discourse.org/t/what-are-the-right-settings-to-use-s3-bucket-with-non-amazon-url/158612>\
**Category:** Self-hosting\
**Created:** [2020年七月23日 12:40 UTC](https://meta.discourse.org/t/what-are-the-right-settings-to-use-s3-bucket-with-non-amazon-url/158612 "2020-07-23T12:40:40Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2020年八月22日 15:38 UTC](https://meta.discourse.org/t/what-are-the-right-settings-to-use-s3-bucket-with-non-amazon-url/158612/17 "2020-08-22T15:38:35Z")

</div>

我认为最简单的方案是使用 AWS 和 KeyCDN，并遵循[使用对象存储进行上传（S3 及克隆服务）](https://meta.discourse.org/t/using-object-storage-for-uploads-s3-clones/148916)中的指南。如果您的用户不在南美洲，KeyCDN 价格相当实惠且配置简单。

一个可能更经济的方案是参考[如何配置 BackBlaze S3 与 BunnyCDN](https://meta.discourse.org/t/how-to-setup-backblaze-s3-with-bunnycdn/159135)。我在初步测试中将 BackBlaze 用于备份，对其表现感到满意，但尚未尝试将其用于上传。

---

_[View the full topic](https://meta.discourse.org/t/what-are-the-right-settings-to-use-s3-bucket-with-non-amazon-url/158612)._
