<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jun 17, 2016 at 2:48 PM, jordan.davidson <span dir="ltr"><<a href="mailto:nginx-forum@forum.nginx.org" target="_blank">nginx-forum@forum.nginx.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We need TCP (not http) hostname routing for an environment we are creating<br>
using k8s and ingress with the nginx ingress controller. We are trying to<br>
figure out if there is a way to create an nginx server with a config that<br>
will route TCP calls to a single host:port to different host:port combos<br>
based on the hostname held in the SNI information.<br><br></blockquote><div><br></div><div>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 route.</div></div><br></div></div>