[core] Device certificates: device_certs host field; edge config v3 and Caddy client_authentication with a CA bundle and an allow list, 403 without a certificate

This commit is contained in:
2026-11-07 22:46:07 +01:00
parent dc23bfe842
commit 18da3f5d5a
11 changed files with 201 additions and 14 deletions
+3
View File
@@ -121,6 +121,8 @@ struct RawHost {
#[serde(default)]
share_links: bool,
#[serde(default)]
device_certs: bool,
#[serde(default)]
access_log: RawAccessLog,
health_check: Option<RawHealthCheck>,
#[serde(default)]
@@ -517,6 +519,7 @@ fn check_host(file: &str, raw: RawHost, site: Option<&Site>, errors: &mut Vec<E>
websockets: raw.websockets,
health_check,
share_links: raw.share_links,
device_certs: raw.device_certs,
access_log: match raw.access_log {
RawAccessLog::Off => AccessLog::Off,
RawAccessLog::Truncated => AccessLog::Truncated,