conditionally disable keepalives

Eugaia ngx.eugaia at gmail.com
Fri Sep 17 21:45:33 MSD 2010


  On 17/09/2010 17:27, Ryan Malayter wrote:
> Is it possible to conditionally disable keep-alives via some sort of
> configuration?
I would suggest putting the keepalive_timeout directive inside an if 
block, but it's not permitted.

Igor/Maxim : Is there a good reason why keepalive_timeout cannot be set 
inside a server or location if block?

Cheers,

Marcus.



More information about the nginx mailing list