diff options
author | metamuffin <metamuffin@disroot.org> | 2024-08-19 03:14:34 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-08-19 03:14:34 +0200 |
commit | d06821468e9a6e0d62c4b1ced21b1290e7a5bc47 (patch) | |
tree | 0ef2cade2bfb6a24f2bb3e65b074df81afd5b5dd /src/config.rs | |
parent | 6c3524c381467483a025eda5e7e5f0ded53094fa (diff) | |
download | gnix-d06821468e9a6e0d62c4b1ced21b1290e7a5bc47.tar gnix-d06821468e9a6e0d62c4b1ced21b1290e7a5bc47.tar.bz2 gnix-d06821468e9a6e0d62c4b1ced21b1290e7a5bc47.tar.zst |
fallback cert
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 1 |
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 |