# 在Discourse同一台机器上运行其他网站

**URL:** https://meta.discourse.org/t/run-other-websites-on-the-same-machine-as-discourse/17247
**Category:** Self-Hosting
**Tags:** how-to, advanced-setup
**Created:** [2014年七月5日 20:36 UTC](https://meta.discourse.org/t/run-other-websites-on-the-same-machine-as-discourse/17247 "2014-07-05T20:36:15Z")
**Posts on this page:** 1
**Showing post:** 475

<div class="post-metadata">

### Author: ![Paracelsus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paracelsus/32/164912_2.png) [@Paracelsus](https://meta.discourse.org/u/Paracelsus)
#### Post date: [2024年十月7日 18:06 UTC](https://meta.discourse.org/t/run-other-websites-on-the-same-machine-as-discourse/17247/475 "2024-10-07T18:06:47Z")

</div>

一个问题：  
如果我想在同一台独立服务器上运行 Discourse 以及其他网站，是否必须使用套接字模板（在 conf 文件中使用 nginx.http.sock）？  
我们最近迁移了服务器，最终使用了端口 8080 和 Nginx 作为反向代理，但没有使用套接字模板。由于它运行正常，而且我看不出使用该方法的意义，所以我想知道是否有其他方法。

---

_[View the full topic](https://meta.discourse.org/t/run-other-websites-on-the-same-machine-as-discourse/17247)._
