release 1.10.8: only three mon URL families (no /taler-monitoring page)
This commit is contained in:
parent
fb5b1587e3
commit
b9953fd3fe
6 changed files with 41 additions and 31 deletions
|
|
@ -99,17 +99,19 @@ _host_allowed() {
|
|||
esac
|
||||
}
|
||||
|
||||
# Public page layout (v1.9.4+):
|
||||
# • 9 landing stacks → /monitoring/ (+ /monitoring_err/ when present)
|
||||
# • ecosystem software/versions → taler.hacktivism.ch/taler-monitoring-surface(+_err)/
|
||||
# • apt-src deploy tests → taler.hacktivism.ch/taler-monitoring-aptdeploy(+_err)/
|
||||
# Legacy /taler-monitoring-{mail,mattermost}* stay folded into surface (no first-class pages).
|
||||
# Public mon URL families (suite name "taler-monitoring" ≠ a public path):
|
||||
# 1) /monitoring(+_err) — landing hosts (bare + slash)
|
||||
# 2) /taler-monitoring-surface(+_err) — taler.hacktivism.ch only
|
||||
# 3) /taler-monitoring-aptdeploy(+_err) — taler.hacktivism.ch only
|
||||
# No /taler-monitoring page. No /taler-monitoring-mail|mattermost pages.
|
||||
|
||||
_path_allowed() {
|
||||
case "$1" in
|
||||
monitoring|monitoring_err|\
|
||||
taler-monitoring-surface|taler-monitoring-surface_err|\
|
||||
taler-monitoring-aptdeploy|taler-monitoring-aptdeploy_err) return 0 ;;
|
||||
# explicit deny (never invent a mon page here)
|
||||
taler-monitoring|taler-monitoring-mail|taler-monitoring-mattermost) return 1 ;;
|
||||
*) return 1 ;;
|
||||
esac
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue