go-http-tunnel icon indicating copy to clipboard operation
go-http-tunnel copied to clipboard

How do you persist two subdomains in the tunnel.yml file?

Open carlosap6576 opened this issue 4 years ago • 1 comments

Question: if you wanted to keep the same domain for differnt apps how would you set the tunnel.yml config file? for example:

http://domain/uphost http://domain/trivial

The uphost and trivial are two different apps (running in different ports of the server), but I would like to keep the same "domain" name so the user feel like they are leaving the site. I think this is probably a config setup.

Does this reverse proxy supports that feature?

Love to donate to author.

carlosap6576 avatar Aug 02 '21 18:08 carlosap6576

That's currently not possible. Tunnel are identified by subdomains. I guess in that case you'd need to use maybe an nginx and cunfigure that to forward them accordingly

hons82 avatar Aug 03 '22 07:08 hons82