Expand description
Reverse proxy with HTTP routing for containers and Wasm trigger dispatch.
Routes HTTP traffic by Host header to container backends (round-robin),
and by path pattern to Wasm component invocations via a callback.
Supports automatic TLS via ACME/Let’s Encrypt (Caddy-style zero-config).
Modules§
- acme
- ACME certificate management with automatic Let’s Encrypt provisioning.
- rate_
limit - Simple per-IP token bucket rate limiter.
- tls
- TLS configuration for the reverse proxy.
Structs§
- Route
Target - A backend target for container routing.
- Wasm
Trigger - A Wasm HTTP trigger: maps a path pattern to a Wasm runtime instance.
Functions§
- run_
proxy - Run the reverse proxy on the given port.
- run_
proxy_ with_ acme - Run HTTP on port 80 (for ACME challenges + redirect) and HTTPS on port 443.
Type Aliases§
- Shared
Cert Resolver - Shared dynamic cert resolver for hot-provisioning.
- Shared
Wasm Triggers - Shared Wasm trigger table type.
- Wasm
Invoke Future - Future type returned by the Wasm invoker.
- Wasm
Invoker - Callback invoked when a request matches a Wasm trigger. Receives (runtime_id, method, path, body) and returns the response body string.