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
The nginx image sets a client_max_body_size of 25MB. Trying to upload files bigger than 25MB results in a error 413. Setting the Env Vars:
PHP_POST_MAX_SIZE=64M
PHP_UPLOAD_MAX_FILESIZE=64M
is not enough to circumvent this problem. The only solution at the moment is to bindmount
/etc/nginx/nginx.conf or /etc/nginx/conf.d/default.conf
which could lead to errors when images are updated and changes their config. Adding client_max_body_size to the default.conf server block and make configurable with Env Vars as in the description of the nginx docker image could solve this.
Description
The nginx image sets a client_max_body_size of 25MB. Trying to upload files bigger than 25MB results in a error 413. Setting the Env Vars:
is not enough to circumvent this problem. The only solution at the moment is to bindmount
/etc/nginx/nginx.conf
or/etc/nginx/conf.d/default.conf
which could lead to errors when images are updated and changes their config. Adding client_max_body_size to the default.conf server block and make configurable with Env Vars as in the description of the nginx docker image could solve this.
https://hub.docker.com/_/nginx
Steps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: