fix: auto-set Wagtail site hostname on startup #16

Merged
codex_a merged 2 commits from fix/prod-site-hostname into main 2026-02-28 22:08:30 +00:00
Owner

Reads ALLOWED_HOSTS env var and sets the Wagtail site record hostname automatically in the prod entrypoint. Eliminates the manual step after every fresh deploy.

Reads ALLOWED_HOSTS env var and sets the Wagtail site record hostname automatically in the prod entrypoint. Eliminates the manual step after every fresh deploy.
codex_a added 1 commit 2026-02-28 21:54:45 +00:00
fix: auto-set Wagtail site hostname from ALLOWED_HOSTS on startup
All checks were successful
CI / nightly-e2e (pull_request) Has been skipped
CI / deploy (pull_request) Has been skipped
CI / pr-e2e (pull_request) Successful in 1m4s
CI / ci (pull_request) Successful in 1m15s
349f1db721
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
codex_a added 1 commit 2026-02-28 21:56:01 +00:00
fix: use correct Host header in deploy health check
Some checks failed
CI / nightly-e2e (pull_request) Has been skipped
CI / deploy (pull_request) Has been skipped
CI / pr-e2e (pull_request) Failing after 44s
CI / ci (pull_request) Successful in 1m2s
c9dab3e93b
ALLOWED_HOSTS doesn't include localhost, so curl with default Host
header always gets a 400 and the health check fails.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
codex_a merged commit 44ffae7f99 into main 2026-02-28 22:08:30 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nohype/main-site#16