keepalive and "down" flag

Frank Liu gfrankliu at
Tue Aug 18 22:52:01 UTC 2020


If I use keepalive between nginx and upstream backend servers, and later
add the "down" flag to one of the servers, will nginx stop sending traffic
to it immediately or will it still send requests using the existing
keepalive connection, just not creating any new connection? Is the "down"
flag only consulted for creating new upstream connections or is it also for
every request on existing/keepalive connection?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list