I have 3 server: A(nginx)-->B(nginx)-->C(nodejs),
When i access A or B,chrome use http/1.1+keepalive by default.
I do not set "proxy_http_version 1.1;" and proxy_set_header Connection "";
But between A and B,NGINX use http/1.0 by default。That is like:
client --> nginxA(upstream to b) --> nginxB(upstream to c) -->C (nodejs)
http/1.1 --> http/1.0 --> http/1.1 --> nodejs
My questions is : why nginx use http/1.1 for upstream by default,between nginx and nginx, upstream use http/1.0 ?
THX.