Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Load balancer AWS configuration

I have some loadbalancer which works fine. It's configured like this. The app is just running on 80 and redirected by the webserver to 443 and has a route 53 above enter image description here

Now I tried totally the same but when I set my loadbalancer on the same values + wildcardcert I get:

Updating load balancer named: xx failed Reason: Listeners can't talk to InstancePort 80 with secure and insecure protocols at the same time (Service: AmazonElasticLoadBalancing; Status Code: 409; 

What am I missing? Why is it working for the other apps?

like image 261
DenCowboy Avatar asked May 25 '18 23:05

DenCowboy


1 Answers

Your second listener should have HTTP protocol as instance protocol. Or you should use port 443 for instance protocol.

enter image description here

like image 150
matesio Avatar answered Sep 19 '22 16:09

matesio