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 年前4479 查看次数
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 个月前

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

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

回答问题的准则