is there a way to force a specific ip address to always go to the same server in upstream?

Ilan Berkner iberkner at gmail.com
Tue Sep 15 07:55:43 MSD 2009


Thanks, that's not what I mean.

For testing purposes, we'd like to have our work computers go to a
particular upstream server at all times.  I think that the ip_hash directive
for the most part accomplishes that, but doesn't force one server over the
other.  Whichever one you end up with is the one you get... am I wrong?

thanks

On Mon, Sep 14, 2009 at 10:00 PM, Joshua Zhu <zhuzhaoyuan at gmail.com> wrote:

> Hi,
>
> Yes.
> http://wiki.nginx.org/NginxHttpUpstreamModule#ip_hash
>
> On Tue, Sep 15, 2009 at 9:42 AM, Ilan Berkner <iberkner at gmail.com> wrote:
> >
> >
>
> Regards,
>
> --
> Joshua Zhu
> http://www.zhuzhaoyuan.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090914/8020721b/attachment.html>


More information about the nginx mailing list