Welcome! Log In Create A New Profile

Advanced

Dynamic upstream configuration

April 17, 2013 04:42AM
Hi,

I have an nginx configured as a reverse proxy using proxy_pass.
This is a dynamic reverse proxy, it fetches content for users in accordance to the HOST header in the requests.
The problem I encountered is that the backends are normally SSL, and every request that goes has to re-handshake (since there is no keep-alive between nginx and the backend servers).
I know that I can configure keep-alive with upstream - but that requires me to know upfront which servers will be used (which I don't, since I dynamically fetch content according to headers).
Is there a way to configure that the proxy will keep-alive connections with backend servers dynamically, or for some time?

Thanks,
Roy.
SubjectAuthorPosted

Dynamic upstream configuration

mamoos1April 17, 2013 04:42AM

Re: Dynamic upstream configuration

mamoos1April 30, 2013 10:03AM

Re: Dynamic upstream configuration

krukowMay 13, 2013 09:06AM

Re: Dynamic upstream configuration

mamoos1May 13, 2013 09:13AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 55
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 156 on March 20, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready