# 在家庭互联网环境下通过Cloudflare Tunnel安装Discourse

**URL:** <https://meta.discourse.org/t/install-discourse-on-a-residential-internet-with-cloudflare-tunnel/211297>\
**Category:** Sysadmins\
**Tags:** arm, how-to, raspberry-pi, install\
**Created:** [2021年十二月7日 14:02 UTC](https://meta.discourse.org/t/install-discourse-on-a-residential-internet-with-cloudflare-tunnel/211297 "2021-12-07T14:02:07Z")\
**Posts on this page:** 1\
**Showing post:** 68

<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:** [2025年三月2日 12:41 UTC](https://meta.discourse.org/t/install-discourse-on-a-residential-internet-with-cloudflare-tunnel/211297/68 "2025-03-02T12:41:31Z")

</div>

> [@Sailor](#):
>
> 建议在本地的 80 端口上进行 SSL 工作，因为隧道将在边缘提供 SSL 握手，然后隧道到 localhost 可以不带证书吗？

是的。

> [@Sailor](#):
>
> 我可以设置一个本地证书，并通过 Caddy 进行续订

通过 DNS 验证吗？它将无法使用 Let’s Encrypt 进行常规挑战。

如果你能让 Caddy 工作，你就不需要在 Discourse 端更改任何内容，因为 Caddy 仍然会与 HTTP 端口通信。

> [@Sailor](#):
>
> 它反映了链接/图片被指示通过 HTTPS 加载，而与 Discourse 本身运行的端口/模式无关？

正确。

---

_[View the full topic](https://meta.discourse.org/t/install-discourse-on-a-residential-internet-with-cloudflare-tunnel/211297)._
