HTTP Tunnels
HTTP tunnels expose a local HTTP service through a public subdomain on your Unne Server.
Quick Tunnel
bash
unne http 3000This creates a tunnel with an auto-generated subdomain like a8f3k2m1.tunnel.example.com.
Custom Subdomain
bash
unne http 3000 --subdomain myappYour service will be at myapp.tunnel.example.com.
From Config File
In unne.yml:
yaml
tunnels:
- name: frontend
protocol: http
subdomain: app
upstream: localhost:3000
- name: api
protocol: http
subdomain: api
upstream: localhost:8080Start all tunnels:
bash
unne startMultiple Tunnels
When running multiple tunnels, the TUI shows tabs for each tunnel (pm2-style). Use Tab/Shift+Tab to switch between them.
Skip Browser Warning
By default, first-time browser visitors see a confirmation page. To skip it (if your account has permission):
bash
unne http 3000 --skip-warningOr in config:
yaml
skip_warning: trueRequest Inspection
Every HTTP request/response flowing through the tunnel is captured for inspection:
- TUI: Press
Enteron a request to see headers and body - Web Inspector: Add
--webuiflag, then openhttp://localhost:4040