Refactor GrampsWeb subpath handling: move all patching to nginx sub_filter (STI-98)
Some checks are pending
CI/CD Pipeline / test (push) Waiting to run
CI/CD Pipeline / deploy (push) Blocked by required conditions
Code Quality / quality (push) Waiting to run

Replace fragile container-side sed/JS patching with comprehensive nginx sub_filter
rules. The container now only handles admin user creation on startup. All SPA route
prefixing is done in nginx via a History API interceptor injected into HTML responses.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
SysAdmin Agent
2026-04-03 21:19:11 +00:00
parent 2a3577baff
commit b79de1d9dd
4 changed files with 65 additions and 50 deletions

View File

@@ -64,6 +64,7 @@ GRAMPSWEB_SECRET_KEY=your-grampsweb-secret-key-here
GRAMPSWEB_ADMIN_EMAIL=admin@vhtv-stiftung.de
GRAMPSWEB_ADMIN_PASSWORD=your-grampsweb-admin-password-here
GRAMPSWEB_TREE=Stiftung
GRAMPSWEB_BASE_URL=/ahnenforschung
# Full external URL including subpath (used by GrampsWeb for email links, OIDC, etc.)
GRAMPSWEB_BASE_URL=https://vhtv-stiftung.de/ahnenforschung