fix(deploy): define SKILLHUB_TRUST_FORWARDED_PROTO in staging compose

The nginx template references this variable and envsubst leaves
undefined variables untouched, causing nginx to fail with
'unknown skillhub_trust_forwarded_proto variable' when the staging
web container starts.

Signed-off-by: yhd <yhd4711499@live.com>
This commit is contained in:
yhd 2026-08-07 14:32:36 +08:00
parent b4388ee2a5
commit cc9d737182

View file

@ -71,6 +71,7 @@ services:
SKILLHUB_API_UPSTREAM: http://server:8080
SKILLHUB_WEB_API_BASE_URL: ""
SKILLHUB_PUBLIC_BASE_URL: ""
SKILLHUB_TRUST_FORWARDED_PROTO: "false"
depends_on:
server:
condition: service_healthy