TCP hostname routing using SNI

Mark Moseley moseleymark at
Fri Jun 17 21:54:08 UTC 2016

On Fri, Jun 17, 2016 at 2:48 PM, jordan.davidson <
nginx-forum at> wrote:

> We need TCP (not http) hostname routing for an environment we are creating
> using k8s and ingress with the nginx ingress controller. We are trying to
> figure out if there is a way to create an nginx server with a config that
> will route TCP calls to a single host:port to different host:port combos
> based on the hostname held in the SNI information.
This isn't to say that there's not a fully-formed module, but just wanted
to point out that the nginx+lua extensions allow you to get at that
information. And then you could presumably use the balancer-by-lua stuff to
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list