mirror of
https://github.com/iflytek/skillhub.git
synced 2026-09-14 23:21:08 +00:00
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:
parent
b4388ee2a5
commit
cc9d737182
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue