# 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:** 3
**Page:** 1

<div class="post-metadata">

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

</div>

I’ve been up and down on this forum to look for this bur for some reason no one is specifiying where they have their nginx.conf file stored on a docker based install.

If someone could point it out to me where i could find it because i just want to up the file size limit in this case.

thanks in advance!

---

<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

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [August 18, 2024, 3:45pm UTC](https://meta.discourse.org/t/nginx-conf-file-location/322162/3 "2024-08-18T15:45:20Z")

</div>

> [@Lilly](#):
>
> You can edit the app.yml file

> [@Change the maximum attachment/upload size](https://meta.discourse.org/t/change-the-maximum-attachment-upload-size/26435):
>
> bookmark This guide explains how to change the maximum attachment upload size for self-hosted Discourse instances. person_raising_hand Required user level: System Admin The default attachment upload size limit is 10MB If you are self-hosting Discourse and need to allow uploads larger than 10 MB, follow the steps below. Changing the upload size Connect to your server: Use SSH to access your server’s command line interface. Edit the configuration file: Navigate to the configurati…
