Proxy pass keepalive without upstream module

Hi
I read here that keepalives to backend can be enabled with the upstream
module
(Module ngx_http_upstream_module)
But can they be used without defining an upstream block? Just a simple
proxy_pass as the backend is a variable in my case: ‘proxy_pass
$proxy_to;’

Many thanks

Hello!

On Fri, May 03, 2013 at 12:41:02PM +0100, Richard K. wrote:

Hi
I read here that keepalives to backend can be enabled with the
upstream module
(Module ngx_http_upstream_module)
But can they be used without defining an upstream block? Just a
simple proxy_pass as the backend is a variable in my case:
‘proxy_pass $proxy_to;’

No.


Maxim D.
http://nginx.org/en/donation.html