web-tunnel / lite-http-tunnel

Web tunnel tool to expose local HTTP server to internet
GNU General Public License v3.0
96 stars 30 forks source link

Question... #1

Open bwmtx opened 2 years ago

bwmtx commented 2 years ago

Can lite-http-tunnel be used with multiple clients (sites) behind https reverse proxy?

If so, mind providing an example?

Regards!

embbnux commented 2 years ago

hi, @bwmtx currently it only supports a client for a server. It can be an improvement to support multiple clients. Do you have any suggestions about how to distribute request to client? I have some ideas about path prefix, or cookie

bwmtx commented 2 years ago

Maybe check these out?

https://github.com/localtunnel/server https://github.com/mhzed/wstunnel

I've used localtunnel before. You can specify a subdomain to use per client, which I like.

I really like your implementation as it uses socket.io as doesn't seem to use deprecated, unmaintained dependencies, which both the above do.

embbnux commented 2 years ago

Thanks @bwmtx I will check that

bwmtx commented 2 years ago

@embbnux You're welcome 👍