keepalive_requests on backend

Kingsley Foreman kingsley at
Thu Sep 22 08:07:24 UTC 2011

Hi guys

I use

        upstream backend{
                keepalive 40;

I was wondering if this listened to "keepalive_requests"

I would like to be able to make sure the backend will only maintain a connection for say 1000 queries before it reconnects.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list