Welcome! Log In Create A New Profile

Advanced

Re: dns name for upstream

March 16, 2016 12:42PM
You can try to use this module to resolve the DNS ;)
https://github.com/GUI/nginx-upstream-dynamic-servers

On Wed, Mar 16, 2016 at 1:34 PM, Valentin V. Bartenev <vbart@nginx.com>
wrote:

> On Friday 11 March 2016 07:01:49 Frank Liu wrote:
> > Hi Valentin,
> > Thanks for clearing up . I was looking at the wrong module.
> > Do you have any comments to the other two questions?
>
> 1. That will result in "502 Bad Gateway" response, and corresponding
> message will be written to error_log.
>
> 2. There's the "resolve" parameter of the "server" directive in upstream,
> but it's available in commercial version only.
>
> See the docs:
> http://nginx.org/en/docs/http/ngx_http_upstream_module.html#server
>
> Back to your first question, this parameter has different behavior,
> it will preserve the old IPs in case of resolving error.
>
>
> wbr, Valentin V. Bartenev
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

dns name for upstream

Frank Liu March 10, 2016 05:56PM

nginx1.94 ssl use TLS1.0.

18620708940@163.com March 10, 2016 10:34PM

Re: nginx1.94 ssl use TLS1.0.

Maxim Dounin March 11, 2016 08:12AM

Re: dns name for upstream

B.R. March 11, 2016 04:50AM

Re: dns name for upstream

Maxim Konovalov March 11, 2016 04:58AM

Re: dns name for upstream

Valentin V. Bartenev March 11, 2016 06:46AM

Re: dns name for upstream

Frank Liu March 11, 2016 10:12AM

Re: dns name for upstream

Valentin V. Bartenev March 16, 2016 12:36PM

Re: dns name for upstream

wandenberg March 16, 2016 12:42PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 197
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready