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

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [2020年七月23日 16:33 UTC](https://meta.discourse.org/t/what-are-the-right-settings-to-use-s3-bucket-with-non-amazon-url/158612/2 "2020-07-23T16:33:58Z")

</div>

> [@pnoeric](#):
>
> S3 存储桶本身的名称为 `forum-storage.com`

🚨 立即停止 🚨

请创建一个名称中不包含点号的新存储桶。如果您继续操作，由于 SSL 通配符证书的工作原理，您将面临无尽的麻烦。

参考：[Discourse does not allow dot «.» symbol in bucket name while Amazon S3 allows it](https://meta.discourse.org/t/discourse-does-not-allow-dot-symbol-in-bucket-name-while-amazon-s3-allows-it/29251)  
参考：[https://stackoverflow.com/questions/62568657/ssl-certificate-issue-with-bucket-name-containing-dots-while-trying-to-use](https://stackoverflow.com/questions/62568657/ssl-certificate-issue-with-bucket-name-containing-dots-while-trying-to-use)

---

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