This article details a self-hosted alternative to services like ngrok by using OpenSSH and Nginx. By combining SSH remote port forwarding with Nginx's secure link module, users can create secure, temporary URLs to expose local services to the web.
news.ycombinator.com
Self-hosted HTTP tunnels with SSH and Nginx (104)
No extra software to install: OpenSSH remote forwarding and nginx's secure_link module give you a shareable HTTPS URL with an expiring token.