lua-upstream-nginx-module icon indicating copy to clipboard operation
lua-upstream-nginx-module copied to clipboard

Nginx C module to expose Lua API to ngx_lua for Nginx upstreams

Results 29 lua-upstream-nginx-module issues
Sort by recently updated
recently updated
newest added

I use ngx.upstream.get_primary_peers and find a peer is down。But nginx still use the bad peer。 log: 2018/10/12 16:14:36 [debug] 1998#1998: *508497 [lua] test.lua:21: gen_peers_status_info(): name:123.157.76.2:80stat: up 2018/10/12 16:14:36 [debug] 1998#1998:...

get_primary_peers api does not return the server's status (up or down), how can i get it ? the openresty and patch version is as folows: SZX1000012022:/usr/local/openresty/bin # ./resty -V resty...

Hello I use the function get_upstreams to output all the named upstream groups. I found a strange situation. In our online environment, most of the displayed upstream names have port...

Hi, agentzh : I did the following there points Pls review the code, and thx. First: Add functions: add_server(), add_peer(), remove_server() and remove_peer() and they support load balance algorithm: ip_hash...

@agentzh @neomantra Can we get the TCP stream in the upstream module?

is there a plan that add function to add or remove one backend ?

Hello, it seems that when "zone" is defined the name filed is returned only for the first peer. nginx version: ` ./nginx -v nginx version: openresty/1.9.15.1 ` upstreams.conf: > upstream...

I have no set_peer_weight method from the official download. how to add 我看到程式碼有新的set_peer_weight方法 , 官方的module好像沒有 我該怎新增加去 我是windowns環境

Accessing peers as an array has been deprecated since nginx 1.9.0 (changeset 6100 - http://hg.nginx.org/nginx/rev/c44459611d91) and does not work when using the `zone` directive in `upstream` block. This commit changes...