caddy: fix monitoring file_server root (empty 404); note v1.7.2

This commit is contained in:
Hernâni Marques 2026-07-18 21:40:56 +02:00
parent 6c92cd1c1b
commit 61b9dc0a11
No known key found for this signature in database
2 changed files with 40 additions and 28 deletions

View file

@ -64,3 +64,15 @@ test -w /var/www/monitoring-sites && echo www_writable
| `~/koopa-caddy/` | Live-Apply-Quelle auf dem Host (nicht Secrets) |
Siehe Issue **I-09** in `ISSUES.md`.
## Follow-up — empty Caddy 404 after apply (v1.7.2)
After apply, Caddy returned **empty HTTP 404** (Server: Caddy).
**Cause:** `root * …/monitoring` + `handle /monitoring/` → looks for `…/monitoring/monitoring/`.
**Fix:** `root * …/{host}` + `handle /monitoring*` in `~/koopa-caddy/Caddyfile`. Re-apply:
```bash
sudo ~/koopa-caddy/apply-monitoring-live.sh
```