Simply add

client_max_body_size 5M;

(replace 5M with your needs) on nginx.conf

Example

{
	listen 80;
	..
	server_name mydomani.com;
	client_max_body_size 5M;
	
	..
}