Load balancing based on hash of the domain

Valentin V. Bartenev vbart at nginx.com
Tue Dec 15 11:26:35 UTC 2015


On Tuesday 15 December 2015 11:56:43 Bram wrote:
> Problem is that it will not accept anything besides $remote_addr and $request_uri.
> For example:
> 
>     upstream loadbalancer {
>         hash $server_name consistent:

There's a typo: you've used a colon at the end of the directive.

  wbr, Valentin V. Bartenev



More information about the nginx mailing list