loud-hydrogen-50191
02/28/2023, 4:11 AMBuild: 65b023b (2022-11-10)
• I've setup custom domains on app_origin
443 and api_host
8443 via env vars,
• And accessing both the app ui and the features sdk endpoint urls works well
• But when i try accessing the https api_host 8443 directly, i can see the json still contains "api_host":"<http://subdomain.mydomain.com:3100>"
eventhough i've setup api_host with 8443
Wondering whether this could cause issues ?fresh-football-47124
loud-hydrogen-50191
02/28/2023, 4:16 AMFROM growthbook/growthbook:latest
and the excerpt from terraform file
{
"name": "APP_ORIGIN",
"value": "https://${var.growthbook_domain}"
},
{
"name": "API_HOST",
"value": "https://${var.growthbook_domain}:${aws_alb_listener.gb-api-listener.port}"
},
where the port is 8443 for the API_HOST
Pretty sure of the correct value because we could access the API_HOST url with 8443 and not with 3100fresh-football-47124
loud-hydrogen-50191
02/28/2023, 4:31 AMfresh-football-47124
loud-hydrogen-50191
02/28/2023, 4:35 AM:latest
, i will check the ecr .. thanks for remindingfresh-football-47124
api_host: req.protocol + "://" + req.hostname + ":" + app.get("port"),
app_origin: APP_ORIGIN,
loud-hydrogen-50191
02/28/2023, 4:36 AMfresh-football-47124
loud-hydrogen-50191
02/28/2023, 5:46 AM