I'd like to define a web server instance based on SNI (or the client's Host: header) which does nothing except redirect to a different port on the same host. As far as I can tell, uhttpd doesn't yet support that?
e.g. incoming connections to 'foo.example.com' will get handled by uhttpd by default but connections to 'bar.example.com' will be redirected to https://bar.example.com:8443/ which is a different server listening on a different port of the same host.