In nginx, the default maximum allowed size of the client request body is only 1m:
https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size
so, you should change it bigger:
client_max_body_size 100m;