aboutsummaryrefslogtreecommitdiff
path: root/aero-user/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'aero-user/src/config.rs')
-rw-r--r--aero-user/src/config.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/aero-user/src/config.rs b/aero-user/src/config.rs
index 7de2eac..44b1239 100644
--- a/aero-user/src/config.rs
+++ b/aero-user/src/config.rs
@@ -23,6 +23,7 @@ pub struct ProviderConfig {
pub imap_unsecure: Option<ImapUnsecureConfig>,
pub lmtp: Option<LmtpConfig>,
pub auth: Option<AuthConfig>,
+ pub dav: Option<DavConfig>,
pub dav_unsecure: Option<DavUnsecureConfig>,
pub users: UserManagement,
}
@@ -59,6 +60,13 @@ pub struct DavUnsecureConfig {
}
#[derive(Serialize, Deserialize, Debug, Clone)]
+pub struct DavConfig {
+ pub bind_addr: SocketAddr,
+ pub certs: PathBuf,
+ pub key: PathBuf,
+}
+
+#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct ImapUnsecureConfig {
pub bind_addr: SocketAddr,
}