R-782: homepage allows the box's own host name (held — not for main tonight)

Without HOMEPAGE_ALLOWED_HOSTS every /api/* call under the box's name was
refused (400), so services and widgets stayed empty. Measured on the
bench. Glance's public page measured; its login is an operator question.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
adminandClaude Opus 5.5 committed 2026-10-06 20:52:28 +02:00
1 parent d4150d7377
commit 093e5ed231
2 files changed
+13

No files matched your search

+8
View File
@@ -1,3 +1,11 @@
## 2026-10-06 (night, held) — homepage lists the box's own name; glance's public page measured (R-782)
**What runs on a box changed:** homepage's environment. **Held on branch `night-held-2026-10-06`**, not `main` tonight.
- `templates/homepage/docker-compose.yml`: `HOMEPAGE_ALLOWED_HOSTS=${SUBDOMAIN}.${DOMAIN}`. Measured on the bench (v1.13.2): without it every `/api/*` request under the box's name answered 400 „Host validation failed", so the page loaded with no services or widgets; with it `/api/services` answers 200, and another name is still refused.
- glance (no change): measured that the seeded page is public — `GET /` 200 with no credentials, no `auth:` block, `/login` 404. Whether a household start page may be public is a product question; it goes to the operator.
- Evidence `felhom.eu/documentation/audits/night-burndown-2026-10-06/cat/R-782-red.txt`.
## 2026-10-06 (night, held) — wishlist: a failed first-boot seed no longer reads healthy (R-612)
**What runs on a box changed:** wishlist's container healthcheck. **Held on branch `night-held-2026-10-06`** — not on `main` tonight (the night fence: no catalog change may reach an installed app before the 2026-10-07 read-back).
+5
View File
@@ -13,6 +13,11 @@ services:
restart: unless-stopped
environment:
- TZ=Europe/Budapest
# R-782 (measured 2026-10-06 on the bench, v1.13.2): since v1.0 Homepage refuses every /api/*
# request whose Host is not listed here — "Host validation failed" (400) — so the page loaded but
# its services and widgets stayed empty. The page itself and the healthcheck's 127.0.0.1 are not
# checked. With the box's own name listed, /api/services answers 200.
- HOMEPAGE_ALLOWED_HOSTS=${SUBDOMAIN}.${DOMAIN}
volumes:
- homepage_config:/app/config
- /var/run/docker.sock:/var/run/docker.sock:ro