https://www.growthbook.io/ logo
#ask-questions
Title
# ask-questions
f

freezing-apple-73992

03/27/2023, 11:33 AM
Hi Team, 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?? Please Help. Thanks In Advance 😊
f

future-teacher-7046

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
CDN_HOST
setting most of the time. That's only if you are setting up a custom CDN in front of the back-end.
f

freezing-apple-73992

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?? @future-teacher-7046 @fresh-football-47124
15 Views