nginx 反向代理 出现HTTP 411错误
2016-05-18 11:15
405 查看
在使用Nginx 1.3.9以下版本,都存在当用户POST一个带有文件的请求的时候,出现HTTP 411错误。
nginx需要打一个补丁。补丁地址 https://github.com/agentzh/chunkin-nginx-module
重新编译安装nginx
nginx.conf中添加chunkin on;error_page 411=@my_411_error;
location @my_411_error{
chunkin_resume;}重启nginx问题解决
nginx需要打一个补丁。补丁地址 https://github.com/agentzh/chunkin-nginx-module
重新编译安装nginx
./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module --with-http_realip_module --add-module=/usr/local/src/chunkin-nginx-module-master make -j8 make install
nginx.conf中添加chunkin on;error_page 411=@my_411_error;
location @my_411_error{
chunkin_resume;}重启nginx问题解决
相关文章推荐
- 计算机网络常识(摘抄)
- 解决新装Ubuntu14.04无法使用无线网络的问题
- TCP/IP链接的三次握手与四次挥手
- delphi IDHttp的基本用法
- Wireshark 基本介绍和学习 TCP 三次握手
- Delphi-idHttp-JSON用法
- 如何使用idhttp上传文件
- 深度神经网络权值初始化的诡异问题
- HTTP请求错误大全
- Java 网络编程
- 神经网络之激活函数(Activation Function)
- Delphi IDHTTP用法详解
- Delphi IDHTTP用法详解
- Android 网络编程相关
- HttpClient使用详解
- 深度学习与计算机视觉系列(6)_神经网络结构与神经元激励函数
- 判断网络状态
- tcpdump常用参数说明
- 一点一点学ASP.NET之基础概念——HttpHandler
- 【转】Android网络编程之Socket&Http