# Wat is de maximale bestandsgrootte die we kunnen uploaden op discourse?

**URL:** https://meta.discourse.org/t/what-is-the-maximum-file-size-we-can-upload-on-discourse/187090
**Category:** Support
**Created:** [16 april 2021 om 12:13 UTC](https://meta.discourse.org/t/what-is-the-maximum-file-size-we-can-upload-on-discourse/187090 "2021-04-16T12:13:17Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![Ivan\_Rapekas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ivan_rapekas/32/248924_2.png) [@Ivan\_Rapekas](https://meta.discourse.org/u/Ivan_Rapekas)
#### Post date: [16 juli 2021 om 13:57 UTC](https://meta.discourse.org/t/what-is-the-maximum-file-size-we-can-upload-on-discourse/187090/11 "2021-07-16T13:57:08Z")

</div>

Thanks to all.

So, I have Nginx in front of Discourse. It has configs:

```plaintext
/etc/nginx/nginx.conf (default)
/etc/nginx/conf.d/discourse.conf (custom)

```

Both configs have server{} sections. First I put `client_max_body_size 100m;` in custom config. Actually the setting did not work, but I did not check proxy logs.

When I moved `client_max_body_size 100m;` to default config (parent config), the problem resolved.

So, [Change the maximum attachment/upload size](https://meta.discourse.org/t/changing-max-attachment-size/26435) article is actual. The root cause was in external proxy setting, outside of Discourse which is the best 🙂 .

---

_[View the full topic](https://meta.discourse.org/t/what-is-the-maximum-file-size-we-can-upload-on-discourse/187090)._
