# How to increase the upload file size limit? Error shown

**URL:** <https://meta.discourse.org/t/how-to-increase-the-upload-file-size-limit-error-shown/332467>\
**Category:** Support\
**Created:** [October 24, 2024, 3:57am UTC](https://meta.discourse.org/t/how-to-increase-the-upload-file-size-limit-error-shown/332467 "2024-10-24T03:57:34Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![prty\_grl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/prty_grl/32/333698_2.png) [@prty\_grl](https://meta.discourse.org/u/prty_grl)\
**Post date:** [October 24, 2024, 3:57am UTC](https://meta.discourse.org/t/how-to-increase-the-upload-file-size-limit-error-shown/332467/1 "2024-10-24T03:57:34Z")

</div>

The composer shows that I exceed the file size limit.

I want to increase the upload file size (attachments) in composer. So, I increased it in the settings. I noticed I have to increase it nginx as well. But I don’t use nginx and it has been disabled in AWS (and I don’t want to use reverse proxy as ssl and everything will need to be set up).

I don’t see any nginx in the application folder after I do the following, it opens up with empty file.

```plaintext
sudo ./launcher enter app
cd /etc/nginx/conf.d/
nano discourse.conf'

```

I listed the files as well, but it doesn’t even have “etc” folder in it.

That means nginx is not even present in the discourse folder.

Then as an alternative, I added file size under params, hoping that discourse would pick the setting up after rebuild.

sudo nano containers/app.yml

```plaintext
params:
    nginx:
    client_max_body_size: 1000m

```

But no success. Still shows the error file size should not exeed bla bla bla.

---

_[View the full topic](https://meta.discourse.org/t/how-to-increase-the-upload-file-size-limit-error-shown/332467)._
