feat(hub): add optional TLS certificate/key support to hub start config and bridge
This commit is contained in:
@@ -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>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user