Re:HashiCorp Consul 1.2: Service Mesh
by jorge-fundido on Tuesday June 26, 2018 @10:20AM
(#17400768)
For those interested in a lua example, from this article [1], I found & cherry-picked bits from here [2]. The key ingredients (to aid searching) are init_worker_by_lua_block & balancer_by_lua_block.
[1] https://medium.com/@sigil66/dynamic-nginx-upstreams-from-con...
[2] https://github.com/sigil66/nginx-consul-cookbook