# Unix:/var/discourse/shared/standalone/nginx.http.sock (2: 没有那个文件或目录) \[已解决\]

**URL:** <https://meta.discourse.org/t/unix-var-discourse-shared-standalone-nginx-http-sock-2-no-such-file-or-directory-solved/142342>\
**Category:** Self-hosting\
**Created:** [2020 年2 月 22 日 12:40 UTC](https://meta.discourse.org/t/unix-var-discourse-shared-standalone-nginx-http-sock-2-no-such-file-or-directory-solved/142342 "2020-02-22T12:40:30Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)\
发布日期： [2020 年2 月 22 日 13:43 UTC](https://meta.discourse.org/t/unix-var-discourse-shared-standalone-nginx-http-sock-2-no-such-file-or-directory-solved/142342/2 "2020-02-22T13:43:59Z")

</div>

我不是专家，除非我错了，如果你选择 socket 方式，你可能需要取消注释 `web.socketed.template`。

---

_[View the full topic](https://meta.discourse.org/t/unix-var-discourse-shared-standalone-nginx-http-sock-2-no-such-file-or-directory-solved/142342)._
