Nginx in post data, reported HTTP411 Content-length required

Source: Internet
Author: User

#下载chunkin模块git clone https://github.com/agentzh/chunkin-nginx-module.git# compile Nginx, use Chunkin module wget/HTTP// Nginx.org/download/nginx-1.2.7.tar.gztar xvzf NGINX-1.2.7.TAR.GZCD nginx-1.2.7./configure--prefix=/usr/local/ Nginx--user=www--group=www--with-http_ssl_module--with-http_gzip_static_module--with-google_perftools_module-- With-http_realip_module--add-module=. /chunkin-nginx-module Make-j8make Install

Then add the nginx.conf in the

Chunkin on;error_page 411 = @my_411_error;  Location @my_411_error {chunkin_resume; }

After that, you can restart the nginx.

Nginx in post data, reported HTTP411 Content-length required

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.