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:
@@ -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" },
|
||||
|
||||
Reference in New Issue
Block a user