Official documentation for the new balancer_by_lua* directive

“This directive runs Lua code as an upstream balancer for any upstream entities defined by the upstream {} configuration block…”

https://github.com/openresty/lua-nginx-module#balancer_by_lua_block
https://github.com/openresty/lua-resty-core/blob/master/lib/ngx/balancer.md

Advertisements