Hi, also an API question, we have deployed gb in AWS ECS and want to use CloudFront to cache the API, our setup is:
APP_ORIGIN: <http://growthbook.ourdomain.com|growthbook.ourdomain.com>
API_HOST: <http://growthbook.ourdomain.com:3100|growthbook.ourdomain.com:3100>
and then we have the CloudFront distribution created as
<http://growthbook-api.ourdomain.com|growthbook-api.ourdomain.com>
The issue now is that we cannot enter
<http://growthbook-api.ourdomain.com|growthbook-api.ourdomain.com>
into the API_HOST environment variable. I'm guessing that is because of the port mapping from container port to host port (or loadbalancer target to container even). As we also can't use any other port than 443 for CloudFront, we're currently not sure how to solve this. Do you have a working example for the GrowthBook API behind CloudFront?