# Client max body size

**URL:** <https://meta.discourse.org/t/client-max-body-size/218536>\
**Category:** Self-hosting\
**Created:** [February 17, 2022, 10:34am UTC](https://meta.discourse.org/t/client-max-body-size/218536 "2022-02-17T10:34:47Z")\
**Posts on this page:** 1\
**Showing post:** 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:** [February 17, 2022, 10:34am 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]

---

_[View the full topic](https://meta.discourse.org/t/client-max-body-size/218536)._
