[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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user