NGINX Open Source TCP Load Balancing - service discovery
francis at daoine.org
Tue Oct 18 07:14:38 UTC 2016
On Mon, Oct 17, 2016 at 02:44:00PM -0700, Matthew Ceroni wrote:
> 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
So you need a different way of setting a variable.
Perhaps "map" will do what you want?
Francis Daly francis at daoine.org
More information about the nginx