I have two angular6 frontends, one running on port 4000, the second running on 4100.
Do a Dockerized push to ECR and create two task definitions ... create cluster and then 2 services of these two frontends, both are running on their ports well and good.
Now I create an application load balancer with ssl, default traffic to port 4000 frontend on domain driver.com. Then add a rule for the second frontend, like:
Host driver.com
Path /secondfrontend
so it becomes driver.com/secondfrontend
I get the secondfrontend but it's blank