Skip to main content

Module server

Module server 

Source
Expand description

Reverse proxy server implementation.

Listens on a configured port and routes requests to daemon processes based on the Host header subdomain pattern.

When proxy.https = true, a local CA is auto-generated (via rcgen) and each incoming TLS connection is served with a per-domain certificate signed by that CA (SNI-based dynamic certificate issuance).

Functionsยง

generate_ca
Generate a local root CA certificate and private key using rcgen.
serve
Start the reverse proxy server.