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 年前檢視次數 405 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南