# Как обновить конфигурацию nginx напрямую в discourse/docker ..?

**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:** [05.Май.2023 20:11:50 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:** 1

<div class="post-metadata">

**Author:** ![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)\
**Post date:** [05.Май.2023 20:11:50 UTC](https://meta.discourse.org/t/how-can-i-update-the-nginx-config-directly-in-discourse-docker/264011/1 "2023-05-05T20:11:50Z")

</div>

Внутри файла веб-шаблона я нашел инструкции, где обновляется шаблон конфигурационного файла nginx (заменяющие операторы)… Неужели нет способа добавить целый новый раздел в конфигурацию nginx???

Папка /uploads в shared/discourse доступна через nginx. Я хочу добавить новую папку /photos…  
Есть ли прямой способ (рекомендуемый Discourse)?

---

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