Introduction
Vireo Edge is a small HTTP/2 front-end that terminates TLS, serves static documents, and forwards a narrow set of API paths to a backend process over h2c.
What it does
The gateway exists to keep one public listener for many internal services. It handles certificate issuance and renewal, applies a common header policy, and routes by exact path prefix. Everything else is served from disk.
- TLS termination with automatic certificate management.
- Path-scoped reverse proxying to loopback backends over cleartext HTTP/2.
- Static document serving with precompressed responses.
- Structured access logs with size-based rotation.
Design constraints
Three rules shape the whole configuration, and most support questions come back to one of them:
| Constraint | Reason |
|---|---|
Backends bind to 127.0.0.1 only | No backend port is reachable from the internet; the edge is the only ingress. |
| Streamed responses must not be buffered | Compression or buffering on a streamed path turns a duplex connection into a stalled one. |
| Routing is prefix-based, never regex | Predictable cost, and no backtracking under load. |
If you are here because a proxied path hangs after a few hundred kilobytes, read Troubleshooting before changing anything else.
Architecture
client ──TLS/443──▶ beacon-edge
├─ / → static files (/var/www/docs)
├─ /assets/* → static files (cacheable)
└─ /api/v2/* → 127.0.0.1:10086 (h2c, streamed)
The edge holds no session state. Restarting it costs one TLS handshake per client and nothing else.