pub fn load_server_config(
cert_path: &str,
key_path: &str,
) -> Result<Arc<ServerConfig>>Expand description
Build a rustls ServerConfig from a PEM certificate chain and private key. Uses an
explicit ring provider so it doesn’t depend on which provider happens to be the process
default. Advertises HTTP/1.1 via ALPN (the proxy speaks HTTP/1.1 upstream).