-1

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

Stephen Rauch
  • 245
  • 1
  • 3
  • 9
dev
  • 1
  • 1
  • Have you been able to reference the second port number anywhere? – TristanK May 28 '19 at 22:49
  • Yess .. I have two target groups on each target i have my two frontend services .. one has port 4000 that target is default access target with driver.com and other is on 4100 and i add that target group in rules – dev May 28 '19 at 23:00
  • i have specify host and path and than forward to the second frontend target group – dev May 28 '19 at 23:01
  • When you say "blank". What exactly do you mean? Are both ports 4000 and 4100 open in your Security Group? – DTD May 28 '19 at 23:29
  • yeah through ip it is working fine .. both load well – dev May 29 '19 at 00:26

1 Answers1

-2

It was path base routing problem removing path base routing and left only host based works fine

dev
  • 1
  • 1