caddy: fix monitoring file_server root (empty 404); note v1.7.2
This commit is contained in:
parent
6c92cd1c1b
commit
61b9dc0a11
2 changed files with 40 additions and 28 deletions
|
|
@ -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
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue