# 在现有 Nginx 下将 Discourse 安装为子目录

**URL:** https://meta.discourse.org/t/install-discourse-as-a-subdirectory-with-existing-nginx/100710
**Category:** Self-hosting
**Created:** [2018年十月28日 20:24 UTC](https://meta.discourse.org/t/install-discourse-as-a-subdirectory-with-existing-nginx/100710 "2018-10-28T20:24:32Z")
**Posts on this page:** 1
**Showing post:** 7

<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: [2018年十月29日 12:15 UTC](https://meta.discourse.org/t/install-discourse-as-a-subdirectory-with-existing-nginx/100710/7 "2018-10-29T12:15:57Z")

</div>

You would search for the #howto document and follow these instructions: [Serve Discourse from a subfolder (path prefix) instead of a subdomain](https://meta.discourse.org/t/subfolder-support-with-docker/30507)

---

_[View the full topic](https://meta.discourse.org/t/install-discourse-as-a-subdirectory-with-existing-nginx/100710)._
