Nginx file uploading error 413 Request Entity Too Large

Source: Internet
Author: User
As a result, I used the Http packet capture tool (HttpDetect), as shown in the following figure.
The returned status is 413 Request Entity Too Large (nginx/1.2.1), and Baidu finds that this is a problem where nginx sets the packets allowed to be uploaded. This is in line with the above situation, there is no exception information in the background, because the request does not reach our tomcat at all. nginx finds that the request package is greater than the set value, and then returns 413 directly.
The solution is to set the nginx package size to an appropriate value, as shown in the following figure.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.