← Monday, October 5, 2026Cloud & infraGuide
OpenSSH reverse forwarding and Nginx provide self-hosted HTTP tunnels
The guide combines SSH remote forwarding on an automatically allocated port with an Nginx wildcard host that proxies requests to the forwarded service. It offers a practical self-hosted alternative for exposing local previews without a dedicated tunnel client.
- What
- OpenSSH reverse forwarding and nginx can expose a local HTTP service through a self-hosted HTTPS tunnel.
- How
- SSH forwards a server port to localhost; nginx proxies requests for that port, while signed, expiring URLs add access control.
- Why it matters
- Engineers can share local previews without a commercial tunnel service or a specialized SSH server.
Read on vincent.bernat.ch → Hacker News · 30 commentsLobsters · 6 comments
Discussion
Discussion is not switched on yet. Use Note above to keep your own thoughts on this story.
Headline, summary, brief and diagram are written by a model from the source's own text; the link, byline and numbers come from the source. Read the original before relying on a claim.