[control] Fix round 2: Caddy rereads its files on every load and the served certificate is checked, Caddy trials get a deadline outside control (caddy-guard, caddy-revert), the watch under Caddy judges upstreams as edge does, a reload of Caddy during the watch is noticed and device changes wait for the apply, stricter root key scan, IPv4-mapped trusted proxies

This commit is contained in:
2026-11-08 12:04:13 +01:00
parent ba3a060b2e
commit 23a283ece9
12 changed files with 884 additions and 159 deletions
+1
View File
@@ -281,6 +281,7 @@ pub async fn overview(
intermediate: super::pki::intermediate_view(c),
site,
paused_reason: c.effective_pause().map(|p| p.code),
paused_detail: c.effective_pause().and_then(|p| p.detail),
paused: c.effective_pause().map(|p| Blocked {
code: "control.paused".into(),
message: message("control.paused", &messages::params([("reason", p.message)])),
+2
View File
@@ -544,6 +544,8 @@ pub struct Overview {
/// Why changes are paused: the underlying code (`apply.needs_attention`, `control.files_unwritten`,
/// `repo.unreadable`, …), so the UI can offer the right action.
pub paused_reason: Option<String>,
/// The technical detail behind the pause, for "Show details" (never a secret).
pub paused_detail: Option<String>,
/// Set when control cannot read health from edge (`health.unavailable`).
pub health_error: Option<Blocked>,
pub rev: Option<String>,