nginx error.log 报错 'upstream sent invalid chunked response while reading upstream'
解决:
在server的 .conf 文件中添加两句
server{
...... //其他配置
location / {
#就添加下面这两句
proxy_http_version 1.1;
proxy_set_header Connection "";
}
}
本文介绍了解决Nginx错误日志中出现的'upstream sent invalid chunked response while reading upstream'问题的方法。通过在server的.conf文件中添加proxy_http_version 1.1; 和 proxy_set_header Connection ; 这两行代码,可以有效解决此问题。
nginx error.log 报错 'upstream sent invalid chunked response while reading upstream'
解决:
在server的 .conf 文件中添加两句
server{
...... //其他配置
location / {
#就添加下面这两句
proxy_http_version 1.1;
proxy_set_header Connection "";
}
}
1万+
1万+
1万+
3万+
4509
9905
3万+
8476

被折叠的 条评论
为什么被折叠?
