# 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:** 4

<div class="post-metadata">

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

</div>

该文件位于 /var/discourse/containers 目录中吗？我无法 cd 到该目录，它显示“权限被拒绝”。

---

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