antoniomika / sish

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

Run behind SSL terminating proxy #303

Closed colinmollenhour closed 2 months ago

colinmollenhour commented 2 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 2 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.