# NGinx.conf File location

**URL:** https://meta.discourse.org/t/nginx-conf-file-location/322162
**Category:** Self-hosting
**Created:** [August 18, 2024, 3:32pm UTC](https://meta.discourse.org/t/nginx-conf-file-location/322162 "2024-08-18T15:32:14Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [August 18, 2024, 3:43pm UTC](https://meta.discourse.org/t/nginx-conf-file-location/322162/2 "2024-08-18T15:43:36Z")

</div>

Hi @gekketovie 👋 welcome to Meta

You can edit the app.yml file

> [@How can I update nginx.conf without resetting it on rebuild?](https://meta.discourse.org/t/how-can-i-update-nginx-conf-without-resetting-it-on-rebuild/48102/2):
>
> You have to use replace commands in your app.yml to make the edits to the config files as part of the build process. There’s [lots of examples in the discourse\_docker repo](https://github.com/discourse/discourse_docker/search?utf8=%E2%9C%93&q=replace).

> [@Sorry, that file is too big](https://meta.discourse.org/t/sorry-that-file-is-too-big/108949/7):
>
> solved by adding to app.yml file this line # replace 20m with desired value upload\_size: 200m

---

_[View the full topic](https://meta.discourse.org/t/nginx-conf-file-location/322162)._
