fix: ship nginx routes with gateway release

This commit is contained in:
nyan404 committed 2026-08-25 21:42:44 +03:00
1 parent 3c40bff4e8
commit 02d367f008
3 files changed
+7 -3

No files matched your search

+2
View File
@@ -63,3 +63,5 @@ Production Belki images and Kubernetes workloads require `linux/amd64`. CI sets
# 2026-08-25: standalone Sudoku
`/sudoku` is a separate public route, backed by `app/sudoku.py` and `web/sudoku.html`. A supplied nickname (case-insensitive) is intentionally only a resume key, not authentication; never present it as private storage. Games persist in `sudoku_games` through `BELKI_DATABASE_URL` in production or `SUDOKU_DB` locally. The public API must never return the saved solution, and it must keep original clues immutable. The generator is the explicitly requested `dokusan==0.1.0`; it is GPL-3.0-only, Alpha, and last released in 2023, so retain the `NOTICE`/README license disclosure and revalidate it before future runtime upgrades.
The final gateway Dockerfile must copy `nginx.conf` into the release image, not rely exclusively on the immutable gateway base. This keeps `/sudoku` and other route changes from producing a successful deployment with an old Nginx configuration and a public 404.