On Tue, Dec 15, 2015 at 11:56:43AM +0100, Bram wrote:
Hi there,
> Problem is that it will not accept anything besides $remote_addr and
> $request_uri.
> For example:
>
> upstream loadbalancer {
> hash $server_name consistent:
Use ; not :
> #hash $request_uri consistent;
> server 10.0.0.1:8080;
Line 6 is probably that one, because that is where the "hash" directive
terminates.
> server 10.0.0.2:8080;
> }
>
> Will fail with:
>
> invalid number of arguments in "hash" directive in
> /etc/nginx/nginx-loadbalancing.conf:6
f
--
Francis Daly [email protected]
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx