Thank you Maxim; that is exactly the detailed response I was looking for.
If possible I would recommend updating the docs to clarify this for others.
http://nginx.org/en/docs/http/ngx_http_upstream_module.html#hash
~Jonathan
On Thu, Jan 12, 2017 at 9:44 AM, Maxim Dounin wrote:
> Hello!
>
> On W
Hello!
On Wed, Jan 11, 2017 at 04:27:51PM -0500, Jonathan Simowitz via nginx wrote:
> Hello,
>
> I would like to define an upstream block with a number of servers and
> utilize the hash directive to choose a particular server dependent on the
> request. There is a chance that the chosen server c
Hi Robert,
Thank you for your reply. Yes, I have taken the backup parameter into
account. It is not clear to me how the backup parameter works in
combination with the hash directive and whether this achieves the desired
behavior.
~Jonathan
On Wed, Jan 11, 2017 at 4:34 PM, Robert Paprocki <
rpapr
Hi,
On Wed, Jan 11, 2017 at 1:27 PM, Jonathan Simowitz via nginx <
nginx@nginx.org> wrote:
> Hello,
>
> I would like to define an upstream block with a number of servers and
> utilize the hash directive to choose a particular server dependent on the
> request. There is a chance that the chosen se
Hello,
I would like to define an upstream block with a number of servers and
utilize the hash directive to choose a particular server dependent on the
request. There is a chance that the chosen server could fail and so I would
also like to configure a backup server to handle the request in this ca