From da9a1f4fa6a22231db6b5006dcc4ca97524dcd72 Mon Sep 17 00:00:00 2001 From: Brandyn / Techy Date: Tue, 3 Nov 2026 16:17:47 -0600 Subject: [PATCH] diag host: real path prefixes for every UI, and an index page served as a file Each service now runs behind the prefix it is published under (-http.pathPrefix, or route-prefix plus external-url for Alertmanager). Without that, three of the four UIs would have loaded at their sub-path and then fetched their assets from the domain root, so the pages would have come up broken. The prefixes cascade, so the scrape paths, vmalert's notifier and remote-write URLs, and the deadman's health probes all follow. The index is diag/index.html mounted into Caddy, not an inline respond: Caddy reads {...} as placeholders and the page's CSS is full of braces, so inline would have been mangled. It also matches how the gateway, dock and clips pages are already served. Co-Authored-By: Claude Opus 5 (1M context) --- bin/vanguard-deadman.sh | 12 +++++++----- configure.py | 12 +++--------- diag/index.html | 37 +++++++++++++++++++++++++++++++++++++ docker-compose.yml | 16 +++++++++++----- observability/scrape.yml | 8 ++++++++ 5 files changed, 66 insertions(+), 19 deletions(-) create mode 100644 diag/index.html diff --git a/bin/vanguard-deadman.sh b/bin/vanguard-deadman.sh index 82dff95..5a37a7a 100755 --- a/bin/vanguard-deadman.sh +++ b/bin/vanguard-deadman.sh @@ -35,11 +35,13 @@ alive() { # alive