[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:
@@ -233,18 +233,9 @@ pub async fn overview(
|
||||
intermediate: super::pki::intermediate_view(c),
|
||||
site,
|
||||
paused_reason: c.effective_pause().map(|p| p.code),
|
||||
paused: c.effective_pause().map(|p| {
|
||||
if p.code == "engine.caddy" {
|
||||
Blocked {
|
||||
code: p.code,
|
||||
message: p.message,
|
||||
}
|
||||
} else {
|
||||
Blocked {
|
||||
code: "control.paused".into(),
|
||||
message: message("control.paused", &messages::params([("reason", p.message)])),
|
||||
}
|
||||
}
|
||||
paused: c.effective_pause().map(|p| Blocked {
|
||||
code: "control.paused".into(),
|
||||
message: message("control.paused", &messages::params([("reason", p.message)])),
|
||||
}),
|
||||
// Under Caddy, health is not read (edge is stopped); the chip says Caddy serves.
|
||||
health_error: error
|
||||
|
||||
Reference in New Issue
Block a user