# 如何正确设置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:** 9

<div class="post-metadata">

**Author:** ![Bill](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bill/32/159342_2.png) [@Bill](https://meta.discourse.org/u/Bill)\
**Post date:** [2020年八月8日 10:52 UTC](https://meta.discourse.org/t/what-are-the-right-settings-to-use-s3-bucket-with-non-amazon-url/158612/9 "2020-08-08T10:52:31Z")

</div>

你读过这个吗？我在配置 S3 和 Cloudflare 时也遇到过困难，但最终解决了。你仍然可以使用 Cloudflare 来利用其安全优势，但我相当确定你还需要一个独立的 CDN 服务。Cloudflare 不像普通 CDN 那样工作，它的运作方式不同。你应该迁移到更便宜的 S3 服务，亚马逊的价格太贵了。

> [@Set up BackBlaze S3 with BunnyCDN](https://meta.discourse.org/t/how-to-setup-backblaze-s3-with-bunnycdn/159135/1):
>
> It took me forever to figure out how to do all of this, so I wanted to make this guide to make it easier for people. Serving your images this way is supposed to make your website load faster. My Discourse setup combines a DigitalOcean droplet, BackBlaze B2 S3, BunnyCDN, and the free version of Cloudflare. I went with these services after doing a bit of research into reliability, pricing, and benchmarks. They looked like the best options for me. Cloudflare helps with security, but will also slow…

---

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