Double lash redirection not working after ELB

0

When i am redirect // slash from nginx its working but when i keeping instances behind ELB then its not working can any one help regarding this.

Without ELB redirect working properly when request comes directly to EC2.

demandé il y a 2 ans401 vues
1 réponse
0

Hi there,

I understand that your nginx is not working when your instance is behind the ELB. Please correct me if I misunderstood.

Your load balancer serves as a single point of contact for instance, once it is set behind it hence your nginx is not working. The issue might be the configuration of the load balancer as it needs to route traffic to your instance. To configure your load balancer, you must create target groups and then register targets with your target group for your load balancer to be effective, also create listeners to check for connection requests from clients and route requests from clients to the targets in your target group. Please refer to the outlined AWS documentation[1] on how to configure your Load balancer.

Reference links:

[1]https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-network-load-balancer.html

I hope you find this information useful.

Winnie
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions