Client max body size

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]

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?

1 Like