Skip to main content

rust_web_server/virtual_host/
mod.rs

1/// Configuration for a single virtual host (one domain → one cert/key pair).
2#[derive(Clone, Debug)]
3pub struct VirtualHostConfig {
4    pub domain: String,
5    pub cert_file: String,
6    pub key_file: String,
7}