# How can I update the nginx config directly in 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:** [May 5, 2023, 8:11pm 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:** 2

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [May 6, 2023, 7:33am UTC](https://meta.discourse.org/t/how-can-i-update-the-nginx-config-directly-in-discourse-docker/264011/2 "2023-05-06T07:33:50Z")

</div>

> [@Ibrahim\_salem](#):
>
> I want to add a new folder /photos

Can you explain why you want to do that?

“Photos” can in any case be uploaded to Discourse. Image upload and optimisation is built into Discourse already.

---

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