nginx访问报错记录统计
·
1、nginx反向代理报 426 upgrade required
curl -v http://URL
< HTTP/1.1 426 Upgrade Required
< Server: nginx
< Date: Tue, 14 Sep 2021 03:01:36 GMT
< Content-Length: 0
< Connection: keep-alive
<
* Connection #0 to host dp.clife.net left intact
分析:nginx反向代理默认走的http 1.0版本,被反向代理的服务器是1.1版本的!
解决方法:
添加配置,proxy_http_version 1.1;
更多推荐


所有评论(0)