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