# 在同一域名下，将 Discourse 运行在 / 路径，同时将自定义应用运行在 /tickets 路径

**URL:** <https://meta.discourse.org/t/running-discourse-at-while-serving-a-custom-app-at-tickets-on-the-same-domain/393888>\
**Category:** Self-hosting\
**Created:** [2026年一月20日 14:36 UTC](https://meta.discourse.org/t/running-discourse-at-while-serving-a-custom-app-at-tickets-on-the-same-domain/393888 "2026-01-20T14:36:36Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![1vernit3](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/1vernit3/32/539886_2.png) [@1vernit3](https://meta.discourse.org/u/1vernit3)\
**Post date:** [2026年一月20日 16:18 UTC](https://meta.discourse.org/t/running-discourse-at-while-serving-a-custom-app-at-tickets-on-the-same-domain/393888/6 "2026-01-20T16:18:03Z")

</div>

@pfaffman 所以我的理解是： **重用概念，而不是配置** ——在前面放置一个 **外部反向代理** 来路由：

- / → Discourse

- /tickets → 我的自定义应用

Discourse 完全不知道 /tickets 的存在。  
所以是遵循这个指南，对吗：[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)

---

_[View the full topic](https://meta.discourse.org/t/running-discourse-at-while-serving-a-custom-app-at-tickets-on-the-same-domain/393888)._
