Network Load Balancer Headers

0

Hello!

The ALB and CLB add the "X-Forwarded-*" headers, but NLB doesn't seem to do that.

Is there any way to get the NLB IP address in Nginx, so I can forward them to my application?

Thanks a lot!

Nick74
已提問 7 年前檢視次數 4483 次
1 個回答
0

Hello,

A NLB has no concept of "protocol"; it's a network load balancer, so no "headers" exist as such. It's just passing packets from one host to the next. It's not like CLB that can do both HTTP/S and network. It's network only. If you are using HTTP/S you're best using ALB/CLB if you need those headers.

-A.

已回答 7 年前
profile picture
專家
已審閱 1 個月前

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

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

回答問題指南