ops: dossiers-ngi cascade bar dates, center/mobile, soft refresh; serve /cascade
This commit is contained in:
parent
ee82ef9b6e
commit
5677318ae2
6 changed files with 391 additions and 110 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue