In your nginx.conf, in http section:
http {
------------
client_max_body_size 500m;
------------
}
Replace 500m with whatever size you want to upload.
Also, if you're using PHP, in your php.ini file, change the following:
upload_max_filesize = 500M
post_max_size = 500M
And you're done.