# Como Configurar Discourse em um Subdiretório para Auto-Hospedagem?

**URL:** https://meta.discourse.org/t/how-to-set-up-discourse-in-a-subdirectory-for-self-hosting/339488
**Category:** Support
**Created:** [30 Novembro , 2024 12:58 UTC](https://meta.discourse.org/t/how-to-set-up-discourse-in-a-subdirectory-for-self-hosting/339488 "2024-11-30T12:58:00Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [30 Novembro , 2024 13:12 UTC](https://meta.discourse.org/t/how-to-set-up-discourse-in-a-subdirectory-for-self-hosting/339488/2 "2024-11-30T13:12:27Z")

</div>

Olá, você pode dar uma olhada neste guia.

> [@Serve Discourse from a subfolder (path prefix) instead of a subdomain](https://meta.discourse.org/t/serve-discourse-from-a-subfolder-path-prefix-instead-of-a-subdomain/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…

Note a tag #advanced-setup.  
Fazer isso exigiria muito mais configuração, é claro. Seria mais fácil fazer em outro domínio.

Ou, você poderia hospedar seu fórum com o Discourse no plano Enterprise. Eles suportam fóruns hospedados em um subdiretório.

---

_[View the full topic](https://meta.discourse.org/t/how-to-set-up-discourse-in-a-subdirectory-for-self-hosting/339488)._
