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 年前檢視次數 6415 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南