http-lua-upstream #

Gives Lua code in http-lua an API to inspect nginx upstreams and to mark servers down or up; it has no directives. Use it for health checks or admin endpoints written in Lua. Load it with require "ngx.upstream"; it provides get_upstreams, get_servers, get_primary_peers, get_backup_peers, set_peer_down and current_upstream_name.

Source: upstream source

No nginx directives detected.

↑ back to index