Cheap VPS & Xen Server

Residential Proxy Network - Hourly & Monthly Packages

nginx – 413 Request Entity Too Large


You see the following error in your browser when you try to upload a file through http:

413 Request entity Too Large

 

Solution

Open /etc/nginx/nginx.conf

vi /etc/nginx/nginx.conf

… and add client_max_body_size with a large enough value, e.g.:

client_max_body_size 2MB;

Restart nginx afterwards:

/etc/init.d/nginx restart

Comments

comments