pub async fn serve(bind_tx: Sender<Result<(), String>>) -> Result<()>Expand description
Start the reverse proxy server.
Binds to the configured port and serves until the process exits.
When proxy.https = true, TLS is terminated here using a self-signed
certificate (auto-generated if not present).
This function is intended to be spawned as a background task.