Maybe client_max_body_size in /etc/nginx/nginx.conf
client_max_body_size
/etc/nginx/nginx.conf
Read here.