caddy: bare mon redir * (fix Location 302 / code 21) + apply path docs

This commit is contained in:
Hernâni Marques 2026-07-19 01:08:19 +02:00
parent 0df9f1359e
commit 947c72e595
No known key found for this signature in database
3 changed files with 23 additions and 15 deletions

View file

@ -13,5 +13,8 @@ Also: `host/caddy/Caddyfile` (same as `Caddyfile` here).
Handles for `/monitoring*` and `/taler-monitoring-*` live in this `Caddyfile` (prepared under `~/koopa-caddy/`).
They must appear **before** the merchant `reverse_proxy`.
Live install + www ACL: `sudo ~/koopa-caddy/apply-monitoring-live.sh`
Live install + www ACL (absolute path; as root `~` is `/root`):
`sudo /home/hernani/koopa-caddy/apply-monitoring-live.sh`
Bare mon redirs inside `handle` must be `redir * /path/ 302` (not `redir /path/ 302`).
See `2026/2026-07-18--monitoring-public-caddy.md` and ISSUES **I-09**.