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
gefragt vor 7 Jahren4478 Aufrufe
1 Antwort
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.

beantwortet vor 7 Jahren
profile picture
EXPERTE
überprüft vor einem Monat

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen