# Maximale lichaamsgrootte van de client

**URL:** https://meta.discourse.org/t/client-max-body-size/218536
**Category:** Self-hosting
**Created:** [17 februari 2022 om 10:34 UTC](https://meta.discourse.org/t/client-max-body-size/218536 "2022-02-17T10:34:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Andro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andro/32/173721_2.png) [@Andro](https://meta.discourse.org/u/Andro)
#### Post date: [17 februari 2022 om 10:34 UTC](https://meta.discourse.org/t/client-max-body-size/218536/1 "2022-02-17T10:34:47Z")

</div>

My discourse docker builds but won’t run nginx due to this error:

> nginx: [emerg] “client\_max\_body\_size” directive invalid value in /etc/nginx/conf.d/discourse.conf

How do we solve this? Where is that nginx parameter specified in app.yml? [self hosted]

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [17 februari 2022 om 13:20 UTC](https://meta.discourse.org/t/client-max-body-size/218536/3 "2022-02-17T13:20:11Z")

</div>

It’s not on the app.yml file by default, so it fails back to 10m in a shared template.

Can you share your app.yml file?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [20 maart 2023 om 15:19 UTC](https://meta.discourse.org/t/client-max-body-size/218536/4 "2023-03-20T15:19:02Z")

</div>

3 posts were split to a new topic: [“client\_max\_body\_size” directive invalid value](https://meta.discourse.org/t/client-max-body-size-directive-invalid-value/258754)
