bingo: move to datacenterbingo.xyz
The card gets its own domain instead of a subdomain of the IE site. www. is routed to the same container and 301-redirected to the apex in config.ru, so there is one canonical host for links and the cert. Assisted-by: Claude:opus-5
This commit is contained in:
parent
903dc17a75
commit
90e1bbc9c5
4 changed files with 9 additions and 5 deletions
|
|
@ -117,7 +117,7 @@ Admin pages use a shared dark palette extended in `public/style.css` (search for
|
|||
|
||||
## Datacenter bingo
|
||||
|
||||
A second public site served from the **same process** on `BINGO_HOST` (`bingo.asxp.io`, non-secret config in `deploy.yaml` → `.env` → Traefik router `asxpio-bingo` via compose interpolation). `config.ru` dispatches by Host: `BINGO_HOST` → `BingoWeb` (`bingo_web.rb`), everything else → `AsxpioWeb`. Unset `BINGO_HOST` = bingo unreachable.
|
||||
A second public site served from the **same process** on `BINGO_HOST` (`datacenterbingo.xyz`, `www.` redirects to it; non-secret config in `deploy.yaml` → `.env` → Traefik router `asxpio-bingo` via compose interpolation). `config.ru` dispatches by Host: `BINGO_HOST` → `BingoWeb` (`bingo_web.rb`), everything else → `AsxpioWeb`. Unset `BINGO_HOST` = bingo unreachable.
|
||||
|
||||
- 5×5 card of the 25 largest Russian datacenters; a cell is crossed out when an incident (with a public source) is recorded. Rows/columns/diagonals → BINGO banner.
|
||||
- Locales `ru` / `en` / `uk` at `/ru`, `/en`, `/uk`; `/` redirects by `Accept-Language` (fallback `en`). Per-locale DB columns (`name_*`, `city_*`, `title_*`); `ru` is required, others fall back to it. UI strings in `Bingo::T` (`lib/bingo.rb`).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue