Regarding using of nginx http load balancer

Pankaj Kaushik dev.panky2014 at gmail.com
Tue Aug 5 08:58:23 UTC 2014


Hey Piotr,



On Tue, Aug 5, 2014 at 2:21 PM, Piotr Sikora <piotr at cloudflare.com> wrote:

>
> What's wrong with "hash" [1]?
>
> [1] http://nginx.org/en/docs/http/ngx_http_upstream_module.html#hash
>
>

As mentioned in the syntax at above link:-

Syntax:*hash* *key* [consistent];
Default:—Context:upstream


In my scenario i have to fetch key out of uri and then need to hash that to
identify the backend server.

Basically i need to fetch the key out of uri during run time.

Can you please help in knowing how can i do that?

Thanks,
Panky
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20140805/33c292a9/attachment.html>


More information about the nginx-devel mailing list