[control] Fix round 1: changes apply while Caddy serves (admin socket, watch through Caddy), revocations that fail are errors and catch up, proof only on the forward-auth UI host, root keys found by content, intermediates checked before install, stale SNI cleared before each handshake
This commit is contained in:
@@ -110,6 +110,9 @@ pub struct Compile {
|
||||
pub access_log: String,
|
||||
pub caddy_credentials_dir: String,
|
||||
pub caddy_admin: Option<SocketAddr>,
|
||||
/// Caddy's admin API on a Unix socket: how control loads a change while Caddy serves.
|
||||
#[serde(default)]
|
||||
pub caddy_admin_socket: Option<String>,
|
||||
}
|
||||
|
||||
impl Compile {
|
||||
@@ -122,6 +125,7 @@ impl Compile {
|
||||
access_log: self.access_log.clone(),
|
||||
caddy_credentials_dir: self.caddy_credentials_dir.clone(),
|
||||
caddy_admin: self.caddy_admin,
|
||||
caddy_admin_socket: self.caddy_admin_socket.clone(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user