Welcome! Log In Create A New Profile

Advanced

keepalive connections cache between 2 proxy

July 13, 2017 07:19AM
hello,

my app will keep a long connection with server, while server may push message to client, two levels nginx proxy for the upstream servers, does keepalive directive support this model?

the documentation of the keepalive directive said:
"For HTTP, the proxy_http_version directive should be set to '1.1' and the 'Connection' header field should be cleared."

why clear that header?

if client or server close the connection, will the connection between two nginx still keepalive?

will nginx creat connection with upstream servers even if there's no request received?
will nginx pass requests from different clients to upstream in one keep-alive connection?
Subject Author Posted

keepalive connections cache between 2 proxy

foxgab July 13, 2017 07:19AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 100
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready