add support unix socket for GRPC (#5943)

This commit is contained in:
junhwong
2023-05-26 20:35:34 +08:00
committed by GitHub
parent 31ff926ea1
commit 917489e71c
7 changed files with 91 additions and 1 deletions

View File

@@ -129,7 +129,15 @@ Or with multiple upstreams from the same provider
}
~~~
Forward requests to a local upstream listening on a Unix domain socket.
~~~ corefile
. {
grpc . unix:///path/to/grpc.sock
}
~~~
## Bugs
The TLS config is global for the whole grpc proxy if you need a different `tls_servername` for
different upstreams you're out of luck.
different upstreams you're out of luck.