Linux : Nginx error 413 Request Entity Too Large

By | February 5, 2015

Having this error while uploading large files with Nginx?

413 Request Entity Too Large
or ;
[error] client intended to send too large body

1. Edit the main Nginx configuration file :

2. Append the following and set the value to meet your needs (this example assume that the max upload file size is 64 Mb) :

3. Save and reload Nginx :