vh 0.1.1

VHost manager for local development.
1
2
3
4
5
6
7
8
9
10
11
12
use serde::{Deserialize, Serialize};
use std::path::PathBuf;
use crate::types::domain_config::DomainConfig;

#[derive(Debug, Serialize, Deserialize)]
pub struct AppConfig {
    pub domains: Vec<DomainConfig>,
    #[serde(default)]
    pub allowed_extensions: Vec<String>,
    pub root_ca_cert: PathBuf,
    pub root_ca_key: PathBuf,
}