# 如何在 discourse/docker 中直接更新 nginx 配置？

**URL:** <https://meta.discourse.org/t/how-can-i-update-the-nginx-config-directly-in-discourse-docker/264011>\
**Category:** Self-hosting\
**Tags:** docker, nginx\
**Created:** [2023 年5 月 5 日 20:11 UTC](https://meta.discourse.org/t/how-can-i-update-the-nginx-config-directly-in-discourse-docker/264011 "2023-05-05T20:11:50Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

作者： ![Ibrahim\_salem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ibrahim_salem/32/217422_2.png) [@Ibrahim\_salem](https://meta.discourse.org/u/Ibrahim_salem)\
发布日期： [2023 年5 月 6 日 17:38 UTC](https://meta.discourse.org/t/how-can-i-update-the-nginx-config-directly-in-discourse-docker/264011/8 "2023-05-06T17:38:54Z")

</div>

我说过这是一个糟糕的例子……我可以处理任何带有不同解决方案的额外文件夹……到目前为止没有问题……  
然而，我想在 nginx 配置中添加一个全新的部分……如果我必须这样做，我想知道如何做到……

---

_[View the full topic](https://meta.discourse.org/t/how-can-i-update-the-nginx-config-directly-in-discourse-docker/264011)._
