Categories
Linux

Nginx Server Error – 413 Request Entity Too Large

If you’re getting 413 Request Entity Too Large error trying to upload file to nginx server then you need to increase the size limit in nginx.conf . Add client_max_body_size xxM inside the server section where xx is the size in MB.

nginx directive to increase upload size

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.