Managing the Upload file size in Nginx
You can manage the upload file size by setting desired value to client_max_body_size
server {
client_max_body_size 100M;
}
To check for syntax errors Use following command
nginx -t
Once syntax is error free restart nginx