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.

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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ