Load balancing based on hash of the domain
Bram
bramverdonck at telenet.be
Tue Dec 15 11:31:34 UTC 2015
Wow, was struggling with that for a week already.
Can’t believe that was it.
Thank you Valentin and Francis!
> Op 15-dec.-2015, om 12:26 heeft Valentin V. Bartenev <vbart at nginx.com> het volgende geschreven:
>
> 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
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
More information about the nginx
mailing list