antoniomika / sish

HTTP(S)/WS(S)/TCP Tunnels to localhost using only SSH.
https://ssi.sh
MIT License
4.03k stars 308 forks source link

Run behind SSL terminating proxy #303

Closed colinmollenhour closed 6 months ago

colinmollenhour commented 6 months ago

Does it work to run this behind an SSL terminating proxy like Traefik, Coaddy, etc? Would the CLI report the wrong public URL in that case?

antoniomika commented 6 months ago

It is possible to run sish behind a reverse proxy. The CLI will report the URL used by the --domain parameter, so that should match whatever you have the reverse proxy setup with.