aboutsummaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-08-19 03:14:34 +0200
committermetamuffin <metamuffin@disroot.org>2024-08-19 03:14:34 +0200
commitd06821468e9a6e0d62c4b1ced21b1290e7a5bc47 (patch)
tree0ef2cade2bfb6a24f2bb3e65b074df81afd5b5dd /src/config.rs
parent6c3524c381467483a025eda5e7e5f0ded53094fa (diff)
downloadgnix-d06821468e9a6e0d62c4b1ced21b1290e7a5bc47.tar
gnix-d06821468e9a6e0d62c4b1ced21b1290e7a5bc47.tar.bz2
gnix-d06821468e9a6e0d62c4b1ced21b1290e7a5bc47.tar.zst
fallback cert
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index 6a22657..a6f7d1b 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -61,6 +61,7 @@ pub struct HttpsConfig {
pub bind: Vec<SocketAddr>,
#[serde(deserialize_with = "seq_or_not")]
pub cert_path: Vec<PathBuf>,
+ pub cert_fallback: Option<PathBuf>,
}
// try deser Vec<T> but fall back to deser T and putting that in Vec