1 Answer
- Newest
- Most votes
- Most comments
0
You can actually override the value of the Host header in the Integration Request. Saying that, are you sure that NLB supports Host based routing? If I am not mistaken, you can only do port base routing in NLB, unless there is an ALB behind the NLB, that supports host base routing.
Relevant content
- asked 2 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
It's Ingress Controller that does routing in this case, not NLB.
So try overriding the Host header.
Is it possible to overwrite Host header in the VPC link integration? I've tried but it didn't work. Seems like it's not a problem to add or overwrite some custom header, but Host header is still being equal to the Endpoint URL despite the assignment in the mapping template.
Should be possible to override.