Keepalive_timeout http|server|listen context

If ‘keepalive_timeout 0’ is set at the http context level, does nginx
honor
‘keepalive_timeout N’ at the server and/or listen level?

Posted at Nginx Forum:

On Dec 5, 2012, at 2:28 , jeenam wrote:

If ‘keepalive_timeout 0’ is set at the http context level, does nginx honor
‘keepalive_timeout N’ at the server and/or listen level?

There is no listen context as such, but there is default server for
listen address:port pair. As to the question - yes, you can change
keepalive_timeout at server or location level.


Igor S.