ops: dossiers-ngi cascade bar dates, center/mobile, soft refresh; serve /cascade

This commit is contained in:
Hernâni Marques 2026-09-30 15:52:25 +02:00
parent ee82ef9b6e
commit 5677318ae2
No known key found for this signature in database
6 changed files with 391 additions and 110 deletions

View file

@ -21,6 +21,13 @@
root * /var/www/monitoring-sites/dossiers.ngi.hacktivism.ch
file_server
}
# Path-root cascade stubs (feat-website-views, …) live under sites/…/cascade/
# and must not fall through to editions/{cookie}/ (that yields 404).
handle /cascade/* {
root * /var/www/monitoring-sites/dossiers.ngi.hacktivism.ch
file_server
try_files {path} {path}/ {path}/index.html
}
handle /branch-status.json {
root * /var/www/monitoring-sites/dossiers.ngi.hacktivism.ch
file_server
@ -28,6 +35,8 @@
# Dynamic editions: cookie value is the dir name under editions/
# (hourly builder stages every origin/* tip as slug with / → -).
# Do not append a catch-all `~.* flask` — that forces unknown cookies
# (and can mask missing edition dirs) onto the default freeze.
map {http.request.cookie.tdpd_edition} {edition_dir} {
default flask
flask flask