keepalive_timeout http|server|listen context

Igor Sysoev igor at
Wed Dec 5 00:52:23 UTC 2012

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 Sysoev

More information about the nginx mailing list