lua-resty-upstream-healthcheck icon indicating copy to clipboard operation
lua-resty-upstream-healthcheck copied to clipboard

unix socket upstream

Open notnooblord opened this issue 2 years ago • 0 comments
trafficstars

Hi! Kindly asking, since I failed to find any mention about unix sockets like unix:/tmp/forwarded.sock (without port) being supported in upstreams.

(You can send plain http requests to them since they are essentialy just tcp sockets)

Can anyone confirm and possibly update docs ?

Update: https://github.com/openresty/lua-resty-upstream-healthcheck/blob/f0b6528fe08415e900d95e78133d2612860957b2/lib/resty/upstream/healthcheck.lua#L230

it looks like this code is exactly for unix sockets, but not sure.

notnooblord avatar Jan 13 '23 23:01 notnooblord