fix: dossiers-ngi Caddy explicit edition_dir map (cookie placeholder 404)

This commit is contained in:
Hernâni Marques 2026-09-30 16:00:55 +02:00
parent 10d445c712
commit a4ec0305bc
No known key found for this signature in database
2 changed files with 16 additions and 9 deletions

View file

@ -113,3 +113,6 @@ sudo ~/bin/caddy-apply
```
Stanza SoT: `scripts/dossiers-ngi/caddy-dossiers-ngi.snippet`.
Caddy edition map must list each `editions/<slug>` explicitly. A map output of `{http.request.cookie.tdpd_edition}` did not expand on Caddy v2.11.4 (only `flask` worked → 404 for `main`/views). After new tips appear, refresh the snippet map (or regenerate from `ls editions`) before `apply-dossiers-ngi-edition-switch` + `caddy-apply`.