fix 1.23.1: only /monitoring-max-ladder for GOA (drop classic ladder page)
Hacktivism mon page is max-search only on bank/exchange/taler. Remove classic /monitoring-ladder units, monpages catalog, and Caddy bare redirs.
This commit is contained in:
parent
743255264c
commit
db8e673cf5
13 changed files with 34 additions and 124 deletions
|
|
@ -100,21 +100,20 @@ _host_allowed() {
|
|||
}
|
||||
|
||||
# Public mon URL families (suite name "taler-monitoring" ≠ a public path):
|
||||
# 1) /monitoring(+_err) — landing hosts (bare + slash)
|
||||
# 2) /monitoring-ladder(+_err) — GOA classic amount ladder (daily)
|
||||
# 3) /monitoring-max-ladder(+_err) — GOA max-search ladder (daily)
|
||||
# 4) /taler-monitoring-surface(+_err) — taler.hacktivism.ch only
|
||||
# 5) /taler-monitoring-aptdeploy(+_err) — taler.hacktivism.ch only
|
||||
# No /taler-monitoring page. No /taler-monitoring-mail|mattermost pages.
|
||||
# 1) /monitoring(+_err) — landing hosts (bare + slash)
|
||||
# 2) /monitoring-max-ladder(+_err) — GOA max-search amount ladder (daily, hacktivism)
|
||||
# 3) /taler-monitoring-surface(+_err) — taler.hacktivism.ch only
|
||||
# 4) /taler-monitoring-aptdeploy(+_err) — taler.hacktivism.ch only
|
||||
# No classic /monitoring-ladder. No /taler-monitoring page.
|
||||
|
||||
_path_allowed() {
|
||||
case "$1" in
|
||||
monitoring|monitoring_err|\
|
||||
monitoring-ladder|monitoring-ladder_err|\
|
||||
monitoring-max-ladder|monitoring-max-ladder_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)
|
||||
monitoring-ladder|monitoring-ladder_err|\
|
||||
taler-monitoring|taler-monitoring-mail|taler-monitoring-mattermost) return 1 ;;
|
||||
*) return 1 ;;
|
||||
esac
|
||||
|
|
@ -152,7 +151,6 @@ _catalog_urls() {
|
|||
goa)
|
||||
for h in bank.hacktivism.ch exchange.hacktivism.ch taler.hacktivism.ch; do
|
||||
printf 'https://%s/monitoring/\n' "$h"
|
||||
printf 'https://%s/monitoring-ladder/\n' "$h"
|
||||
printf 'https://%s/monitoring-max-ladder/\n' "$h"
|
||||
done
|
||||
# ecosystem surface (versions / software) + apt-src deploy mon page
|
||||
|
|
@ -173,7 +171,6 @@ _catalog_urls() {
|
|||
printf 'https://%s/monitoring/\n' "$h"
|
||||
case "$h" in
|
||||
*.hacktivism.ch)
|
||||
printf 'https://%s/monitoring-ladder/\n' "$h"
|
||||
printf 'https://%s/monitoring-max-ladder/\n' "$h"
|
||||
;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue