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.

已提问 2 年前383 查看次数
1 回答
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
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则