---
title: "Self-hosted HTTP tunnels with SSH and nginx"
url: "https://xlrocket.men/self-hosted-http-tunnels-with-ssh-and-nginx"
markdown_url: "https://xlrocket.men/self-hosted-http-tunnels-with-ssh-and-nginx.md"
format: "link"
published: "2026-10-05T13:23:57.000Z"
link_url: "https://vincent.bernat.ch/en/blog/2026-http-over-ssh"
site: "火箭君 MEN"
---

# [Self-hosted HTTP tunnels with SSH and nginx](https://vincent.bernat.ch/en/blog/2026-http-over-ssh)

译：用 SSH + nginx 自建 HTTP 隧道

- OpenSSH remote forward + nginx，无需 ngrok / 专用客户端
- secure\_link 哈希与过期时间挡端口枚举
- 相对 Cloudflare Quick Tunnels：数据与密钥都在自己服务器上，不叠成同一条
