Hub 2.3.3: refuse server settings the apps can't start with

TRUST_PROXY=TRUE made an Events install build for minutes, then crash at
startup. Saving a server's configuration now refuses it, and installs and
updates are refused (CONFIG_INVALID) while an older saved configuration has
one. Contracts 1.6.0 vendored (agent.checkEnvValue / invalidValues).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-19 10:25:57 +02:00
co-authored by Claude Opus 5.5
parent 166ea451f4
commit 94230d0ba9
13 changed files with 55 additions and 15 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ type Detail = {
/** The settings a church server's jobs need (§5); others can be added. */
const SUGGESTED: { key: string; hint: string }[] = [
{ key: "TRUST_PROXY", hint: "Behind frp: loopback" },
{ key: "TRUST_PROXY", hint: "Behind frp: loopback (lowercase; checked when saved)" },
{ key: "DB_HOST", hint: "The PostgreSQL server the sites use (default localhost)" },
{ key: "DB_PORT", hint: "Default 5432" },
{ key: "DB_ADMIN_URL", hint: "postgresql://admin:…@host/postgres: may create databases and roles. Blank: the local PostgreSQL via sudo -u postgres" },