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.