Welcome! Log In Create A New Profile

Advanced

Re: resolver for upstream

Maxim Dounin
June 24, 2014 08:34PM
Hello!

On Tue, Jun 24, 2014 at 08:18:04PM -0400, badtzhou wrote:

> We are trying to use resolver on upstream. It is not working for some
> reason. We are using nginx 1.6.0. Supposedly the feature should be available
> on 1.5.12.
>
> When we try to use it, It always give us an error. nginx: [emerg] invalid
> parameter "resolve" in... And when I checked the source code, it doesn't
> look like the feature was in there.
>
> According to upstream documentation it should work like this:
> resolve
> monitors changes of the IP addresses that correspond to a domain name of the
> server, and automatically modifies the upstream configuration without the
> need of restarting nginx (1.5.12).
> In order for this parameter to work, the resolver directive must be
> specified in the http block. Example:

You've missed this part above it:

: Additionally, the following parameters are available as part of
: our commercial subscription:

http://nginx.org/en/docs/http/ngx_http_upstream_module.html#server

--
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

resolver for upstream

badtzhou June 24, 2014 08:18PM

Re: resolver for upstream

Maxim Dounin June 24, 2014 08:34PM

Re: resolver for upstream

yangcl July 02, 2015 04:48AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 87
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready