# Discourse 安装在 UNRAID Ubuntu Server VM 中，通过 NPM 反向代理时主机名解析失败

**URL:** <https://meta.discourse.org/t/discourse-installed-in-unraid-ubuntu-server-vm-behind-npm-reverse-proxy-not-resolving-hostname/293313>\
**Category:** Self-hosting\
**Created:** [2024 年1 月 29 日 15:45 UTC](https://meta.discourse.org/t/discourse-installed-in-unraid-ubuntu-server-vm-behind-npm-reverse-proxy-not-resolving-hostname/293313 "2024-01-29T15:45:40Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

作者： ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
发布日期： [2024 年1 月 30 日 18:04 UTC](https://meta.discourse.org/t/discourse-installed-in-unraid-ubuntu-server-vm-behind-npm-reverse-proxy-not-resolving-hostname/293313/12 "2024-01-30T18:04:12Z")

</div>

> [@merefield](#):
>
> 这是系统管理员的高级工作，但 Docker Compose 基本上就像玩很酷的乐高积木——它不像看起来那么难，而且网上有很多帮助。

不过，这并不那么容易。当我这样做的时候，我仍然使用启动器来构建一个镜像，将其推送到一个仓库，然后启动它。然后你还需要有预编译资产、迁移数据库以及可能还有其他东西的方法。

遵循“运行其他网站”的方法可能是应该做的。

---

_[View the full topic](https://meta.discourse.org/t/discourse-installed-in-unraid-ubuntu-server-vm-behind-npm-reverse-proxy-not-resolving-hostname/293313)._
