use serde::{Deserialize, Serialize};
use crate::config::types::{AntiReverseProxyConfig, PathRewriteConfig};
#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct Frontend {
pub listen_port: u16,
#[serde(default, rename = "PathRewrite")]
pub path_rewrites: Vec<PathRewriteConfig>,
#[serde(default, rename = "AntiReverseProxy")]
pub anti_reverse_proxy: AntiReverseProxyConfig,
}