By using AWS re:Post, you agree to the Terms of Use

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!

asked 5 years ago489 views
1 Answer
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.

answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions