Welcome! Log In Create A New Profile

Advanced

Re: NGINX Open Source TCP Load Balancing - service discovery

Francis Daly
October 18, 2016 03:16AM
On Mon, Oct 17, 2016 at 02:44:00PM -0700, Matthew Ceroni wrote:

Hi there,

Untested, but...

> https://www.nginx.com/blog/dns-service-discovery-nginx-plus/

> The issue is around where to set the variable. I have tried setting it in
> the upstream block but that errors saying set is not valid in this context.
> Tried setting it in the stream context, same error.

The documentation suggests that "set" is not available within the
"stream" system.

So you need a different way of setting a variable.

Perhaps "map" will do what you want?

f
--
Francis Daly francis@daoine.org

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

NGINX Open Source TCP Load Balancing - service discovery

Matthew Ceroni October 17, 2016 05:46PM

Re: NGINX Open Source TCP Load Balancing - service discovery

Francis Daly October 18, 2016 03:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 323
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