You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.
I have to increase the "client_max_body_size" of nginx, so i added a "nginx-http.conf" to my root dir with one line:
client_max_body_size 200m;
But this prevents nginx from starting, with the following message:
"nginx: [emerg] "client_max_body_size" directive is duplicate in /etc/nginx/conf.d/nginx-http.conf:1
The default value for client_max_body_size is 1m, so yeah it will break. One option is to add client_max_body_size 32m; to user-provided nginx-http.conf if it doesn't have it.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have to increase the "client_max_body_size" of nginx, so i added a "nginx-http.conf" to my root dir with one line:
client_max_body_size 200m;
But this prevents nginx from starting, with the following message:
"nginx: [emerg] "client_max_body_size" directive is duplicate in /etc/nginx/conf.d/nginx-http.conf:1
The configuration is already set at
php-docker/php-base/nginx.conf
Line 35 in 37e1767
Maybe this directive could be moved to the default "nginx-http.conf" to make it overwritable.
The text was updated successfully, but these errors were encountered: