Nginx not honoring keepalive / multiple requests to http backend over single TCP session

Richard Stanway r1ch+nginx at
Tue Jan 10 22:26:20 UTC 2017

The FIN ACK suggests that the other side is responsible for closing the
connection. If nginx was terminating the connection, there would be no ACK
bit set. Check your upstream server supports keepalive.

On Tue, Jan 10, 2017 at 10:55 PM, Jonathan Geyser <jtgeyser at>

> Hi guys,
> I'm attempting to have multiple requests to a backend reuse the same TCP
> session as to avoid handshaking for each subsequent request. Nginx appears
> to send FIN ACK to the backend after every request.
> Am I doing something wrong?
> Here is the current configuration:
> Thanks in advance,
> Jonathan
> _______________________________________________
> nginx mailing list
> nginx at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list