feat(hub): add optional TLS certificate/key support to hub start config and bridge

This commit is contained in:
2026-02-26 23:47:16 +00:00
parent 417f62e646
commit 56a14aa7c5
4 changed files with 20 additions and 3 deletions

View File

@@ -15,9 +15,9 @@ use remoteingress_protocol::*;
pub struct HubConfig {
pub tunnel_port: u16,
pub target_host: Option<String>,
#[serde(skip)]
#[serde(default)]
pub tls_cert_pem: Option<String>,
#[serde(skip)]
#[serde(default)]
pub tls_key_pem: Option<String>,
}