# Why is my upload limit 100mb?It's set to 500mb

**URL:** https://meta.discourse.org/t/why-is-my-upload-limit-100mb-its-set-to-500mb/281446
**Category:** Support
**Created:** [October 7, 2023, 11:39am UTC](https://meta.discourse.org/t/why-is-my-upload-limit-100mb-its-set-to-500mb/281446 "2023-10-07T11:39:38Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![hawm](https://avatars.discourse-cdn.com/v4/letter/h/f07891/32.png) [@hawm](https://meta.discourse.org/u/hawm)
#### Post date: [October 7, 2023, 11:59am UTC](https://meta.discourse.org/t/why-is-my-upload-limit-100mb-its-set-to-500mb/281446/2 "2023-10-07T11:59:29Z")

</div>

I think the image max size 102400kb(100M) is hard coded in Discourse by design. The `upload_size` in app.yml is for configuring the nginx, you may want to configure the `max attachment size kb` setting which allows file size max to 1024000kb(1GB).

A 500MB image file rendered directly on the web page is horrible.

> [@Can I increase the 1024000 kb limit on attachment?](https://meta.discourse.org/t/can-i-increase-the-1024000-kb-limit-on-attachment/165367):
>
> I’m using S3 for attachment storage so that can handle up to 160GB. I changed the nginx limit to 0 (unlimited) The app.yml param “upload\_size” is also set to 0

---

_[View the full topic](https://meta.discourse.org/t/why-is-my-upload-limit-100mb-its-set-to-500mb/281446)._
