
Vincent Bernat explores a robust, self-hosted approach to creating HTTP tunnels using standard SSH and Nginx configurations. Rather than relying on third-party services like Ngrok, which can introduce security and privacy concerns, Bernat details how to leverage SSH remote port forwarding combined with an Nginx reverse proxy. This setup allows developers to securely expose local services to the public internet with full control over traffic, authentication, and SSL termination. The article provides a technical walkthrough of the necessary SSH commands and Nginx server block configurations required to route external requests to a local development environment. By utilizing existing infrastructure, this method offers a reliable and cost-effective alternative for developers needing to showcase work or test webhooks without exposing their local machines directly to the web. The approach emphasizes simplicity, security, and the avoidance of external dependencies in the development workflow.
This is a summary. Read the full article at the original source:
Hacker News (YC)Related stories
Why I run smoke tests directly in production and how they once broke my analytics
In this article, the author explores the practice of running automated smoke tests directly in a production environment. The focus is on using synthet…
How Sanity Context & MCP Supercharged AI Customer Support in Basegent & Bucket Space
Developer Miracle Onyenma details the architecture behind Basegent, an AI-driven customer support platform integrated with Sanity Context. Moving beyo…
I built a 2,000-page, four-language website with AI. Google sends it two people a day
The creator of artatlas.site shares their experience building a large-scale art history encyclopedia using the AI tool Claude Code. The site contains…



