Could not see AWS LB classic X-Forwarded-For** header

0

Hi, I want to set X-Forwarded-For header for my classic LB following the link https://docs.aws.amazon.com/elasticloadbalancing/latest/application/x-forwarded-headers.html.. However I could not see the radio button "X-Forwarded-For header" in the tab

EC2 >Load balancers>awseb-AWSEB-xxxxxxxxxx>Edit load balancer attributes

Could you please help

Many thanks

son
posta 7 mesi fa606 visualizzazioni
1 Risposta
0
Risposta accettata

Hello.

The document you shared belongs to ALB.
The classic load balancer documentation is below.
https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/x-forwarded-headers.html

The X-Forwarded-For request header is automatically added and helps you identify the IP address of a client when you use an HTTP or HTTPS load balancer.

You can use the "X-Forwarded header" if the listener configuration is HTTP/HTTPS.
https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/using-elb-listenerconfig-quickref.html

Configuration examples for Apache etc. can be found in the following documentation.
https://repost.aws/knowledge-center/elb-capture-client-ip-addresses

profile picture
ESPERTO
con risposta 7 mesi fa
profile pictureAWS
ESPERTO
verificato 7 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande