我有 3 个服务器:A(nginx)-->B(nginx)-->C(nodejs),
当我访问 A 或 B 时,chrome 默认使用 http/1.1+keepalive。
我没有设置“proxy_http_version 1.1;” 和 proxy_set_header 连接“”;
但是在A和B之间,NGINX默认使用http/1.0。就是这样:
客户端--> nginxA(上游到b) --> nginxB(上游到c) --> C(nodejs)
http/1.1 --> http/1.0 --> http/1.1 --> nodejs
我的问题是:为什么nginx默认使用http/1.1作为上游,在nginx和nginx之间,上游使用http/1.0?
谢谢。