Confused between proxy_socket_keepalive & (upstream) keepalive?

J.R. themadbeaker at
Mon Apr 6 14:55:44 UTC 2020

For my setup I use the 'upstream' directive, and in that module there
is the 'keepalive' syntax:

I just noticed today in the proxy module there is the
'proxy_socket_keepalive' syntax:

I'm a little confused... The upstream you set the # of keepalive
connections you want. The proxy module is just an on/off...

More information about the nginx mailing list