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年前6403ビュー
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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ