Throw a host header at it and it will proxy to it! No need to hardcode domains and upstreams in the configuration. Dynamically builds balancers and co

bmgoau / dynamic-proxy

submited by
Style Pass
2021-07-22 03:30:05

Throw a host header at it and it will proxy to it! No need to hardcode domains and upstreams in the configuration. Dynamically builds balancers and connection pools from the incoming host header. Could be a workaround for HTTP clients that don't use or leverage keepalives effectively, don't retry and/or don't load balance across all IPs in a DNS record.

https://luarocks.org/modules/kong/lua-resty-dns-client https://github.com/Kong/lua-resty-dns-client http://kong.github.io/lua-resty-dns-client/modules/resty.dns.client.html#resolve https://kura.gg/2020/08/30/configuring-upstreams-dynamically-with-dns-in-openresty/

Leave a Comment
Related Posts