Client max body size

AI-generated summary

The discussion revolves around resolving the “client_max_body_size” directive error in a self-hosted Discourse setup. Andro encounters the error when running nginx in a Docker build and is unsure where the nginx parameter is specified in the app.yml file. Falco responds, stating that the parameter is not in app.yml by default, causing it to fall back to a 10m shared template value, and requests that Andro share their app.yml file for further assistance.

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?