# 如何在子目录中安装 discourse 而不是子域？

**URL:** https://meta.discourse.org/t/how-to-install-discourse-into-subdirectory-instead-of-subdomain/205341
**Category:** Support
**Created:** [2021 年10 月 6 日 11:08 UTC](https://meta.discourse.org/t/how-to-install-discourse-into-subdirectory-instead-of-subdomain/205341 "2021-10-06T11:08:07Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### 作者： ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### 发布日期： [2021 年10 月 6 日 11:11 UTC](https://meta.discourse.org/t/how-to-install-discourse-into-subdirectory-instead-of-subdomain/205341/2 "2021-10-06T11:11:12Z")

</div>

参见

> [@Serve Discourse from a subfolder (path prefix) instead of a subdomain](https://meta.discourse.org/t/subfolder-support-with-docker/30507):
>
> warning Discourse Official Statement about Subfolder setup We support subfolder setups for our hosted customers at the enterprise level and up. Due to heavy technical setup complexity we strongly recommend you do not use this setup unless you are very experienced in custom subfolder setups. It is critical you have a deep understanding of NGINX setup in the Discourse Docker container Secure original IP forwarding using custom headers in the proxy chain Rate limiting in front proxy server I…

---

_[View the full topic](https://meta.discourse.org/t/how-to-install-discourse-into-subdirectory-instead-of-subdomain/205341)._
