nginx-1.1.4
agentzh
agentzh at gmail.com
Tue Sep 20 12:49:19 UTC 2011
On Tue, Sep 20, 2011 at 8:29 PM, Sirsiwal, Umesh <usirsiwal at 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
More information about the nginx-devel
mailing list