problem with argument route in upstream
Francis Daly
francis at daoine.org
Tue Nov 18 21:35:35 UTC 2014
On Tue, Nov 18, 2014 at 10:25:50PM +0100, RODRIGUEZ Daniel wrote:
Hi there,
> upstream antares {
> server xxxxx:8000 route=server1;
> server yyyy:8000 route=server2;
> sticky route $route_cookie $route_uri;
> }
> With this I get on the error.log :
> 2014/11/18 19:56:40 [emerg] 9520#0: invalid parameter "route=server1" in /etc/nginx/conf.d/c2375.conf:13
> Any idea ?
The error.log indicates that your nginx does not accept that parameter
for the "server" directive within the "upstream" block.
The documentation is at
http://nginx.org/en/docs/http/ngx_http_upstream_module.html#server
It includes the line "Additionally, the following parameters are available
as part of our commercial subscription:".
f
--
Francis Daly francis at daoine.org
More information about the nginx
mailing list