Nginx default upload size

The default maximum file size for uploads in Nginx is 2 MB. Users will receive an error 413 – Request Entity Too Large Error and Solution when uploading a file larger than this limit and you didn't think about setting it when configuring your server.

You can easily raise it with the client_max_body_size directive, e.g.

server {
# ...
client_max_body_size 512M;

This article has been published on on my blog. Here's a list of all articles if you're interested in this kind of stuff.