Welcome! Log In Create A New Profile

Advanced

Re: Persistent connections timeout (keepalive on upstream)

Quanah Gibson-Mount
August 26, 2015 03:14PM
--On Wednesday, August 26, 2015 3:11 PM -0400 ionut_rusu
<nginx-forum@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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Persistent connections timeout (keepalive on upstream)

ionut_rusu August 26, 2015 02:11PM

Re: Persistent connections timeout (keepalive on upstream)

biazus August 26, 2015 02:35PM

Re: Persistent connections timeout (keepalive on upstream)

ionut_rusu August 26, 2015 03:42PM

Re: Persistent connections timeout (keepalive on upstream)

biazus August 26, 2015 04:08PM

Re: Persistent connections timeout (keepalive on upstream)

Quanah Gibson-Mount August 26, 2015 03:14PM

Re: Persistent connections timeout (keepalive on upstream)

ionut_rusu August 26, 2015 03:43PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 350
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready