nginx使用中的问题集合
2020-06-16 14:48 life.lc 阅读(205) 评论(0) 收藏 举报1. Nginx中的error.log中显示“ upstream sent invalid chunked response while reading response header from upstream ......"
解决:
在nginx.conf 文件中location模块位置添加两句
server{
...... //其他配置
location / {
#就添加下面这两句
proxy_http_version 1.1;
proxy_set_header Connection "";
}
}