What are the headers added by ALB?

0

Hi there,

Can you tell me, which headers an ALB adds to requests? (e.g. X-Forwarded-Proto?) I could only find the list for Classic Load Balancing with no reference to ALB itself.

Customer example explained: My customer has problems with mixed content requests (Tomcat server on EC2 doesn't know, that the client reached via HTTPS and SSL got terminated on ALB). Therefore we need to configure listening on headers, but we have no information about "What an ALB is delivering" so far.

AWS
질문됨 4년 전6176회 조회
1개 답변
0
수락된 답변

See the http headers section of the ELB documentation. Excerpt:

Application Load Balancers and Classic Load Balancers add X-Forwarded-For, X-Forwarded-Proto, and X-Forwarded-Port headers to the request.

For front-end connections that use HTTP/2, the header names are in lowercase. Before the request is sent to the target using HTTP/1.1, the following header names are converted to mixed case: X-Forwarded-For, X-Forwarded-Proto, X-Forwarded-Port, Host, X-Amzn-Trace-Id, Upgrade, and Connection. All other header names are in lowercase.

AWS
Wladi_M
답변함 4년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠