I want to host growthbook in HTTPS and not HTTP.
What all changes do I need to make in my docker-compose file??
And How would the routing work as both UI and Backend is running on different ports.
Or What is CDN_HOST?? And when to use it??
Thanks In Advance 😊
03/27/2023, 6:08 PM
We recommend doing SSL termination with a load balancer or proxy like AWS ALB or nginx. For routing, it's easiest to use separate subdomains, one for the front-end and one for the back-end.
You shouldn't need to worry about the
setting most of the time. That's only if you are setting up a custom CDN in front of the back-end.
03/27/2023, 10:04 PM
Ohk... So, what all changes do I need to make in docker compose file??
Say I have growthbook on 2 servers A and B.
Now what should docker compose of A be like. I want to understand how will the API Host and APP Host property look like for both of these servers..
My doubt is how will the app call the LB? And if I change the api_host property.. How will I route the call on LB to that particular machine??