Persistent connections timeout (keepalive on upstream)

Quanah Gibson-Mount quanah at zimbra.com
Wed Aug 26 19:12:01 UTC 2015


--On Wednesday, August 26, 2015 3:11 PM -0400 ionut_rusu 
<nginx-forum at nginx.us> wrote:

> The short question is how can be set the timeout for an upstream for
> persistent connections (using keepalive) - looks like they never timeout.
>
> Details:
>
> I have a configuration where i need to setup a reverse proxy for SSL
> connections, and reuse the backend SSL connections. For doing this i'm
> using the keepalive directive on the upstream, something like this:
>
> ...
>   upstream backend {
>         server backend-host.com:443;
>         keepalive 10;
>    }

Have you tried the nginx keepalive module?

<https://github.com/nviennot/nginx-tcp-keepalive>

--Quanah

--

Quanah Gibson-Mount
Platform Architect
Zimbra, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration



More information about the nginx mailing list