Elixir/erlang server with http2 and SNI support

Viewed 171

I once wrote a small reverse-proxy in node.js that was capable of routing any request of any (defined) domain to it's according endpoints in a DMZ with several servers.

I currently want to rewrite that whole thing on an Erlang/Elixir basis and started with the webframework Phoenix. Phenix already supports http2 very well, but the underlying cowboy server does not support SNI (https://en.wikipedia.org/wiki/Server_Name_Indication).

So does anyone have experience or ever did implement SNI with http2 with Erlang, and has a hint for that if there is something available or a starting point or if that would itself start a whole new project?

0 Answers
Related