ngx_http_dyups_module
ngx_http_dyups_module copied to clipboard
update upstream with "ngx.upstream" occurred an unknown upstream?
with this module ,i write some lua as below: local upstream = require "ngx.upstream" local get_servers = upstream.get_servers local get_upstreams = upstream.get_upstreams local us = get_upstreams(); then i get us ,there is one more upstream like upstream dyups_upstream_down_host { weight=0 down fail_timeout=0 max_fails=0; } what about dyups_upstream_down_host do ?
'dyups_upstream_down_host' is the deleted upstream in the dyups module.
but it still can be list by 'ngx.upstream.get_upstreams' in lua.