On Tue, Sep 20, 2011 at 8:29 PM, Sirsiwal, Umesh <usirsiwal@verivue.com> wrote:
> Thanks to both of you. Great work.
>
> If I understand correctly, the only way to use upstream_keepalive module is with upstream module. This implies I cannot use upstream_keepalive where the upstream is identified by a variable. For example:
>
> proxy_pass http://$host$request_uri;
>
> Is my understand correct? Is there a way around this restriction?
>
I think that if the value of your $host variable points to a
pre-defined upstream name and that upstream has configured
"keepalive", then the connection pool will still be applied :)
Regards,
-agentzh
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel