Reputation: 105
I want to route requests to different EC2 instances on the basis of Authorization token in headers.
The AWS doc says that it can route on the basis of the Host name in the header or the path based routing. Is there any other way I can use the elb to route requests.
Upvotes: 1
Views: 79
Reputation: 13648
No there is no way to use other (non-hostname) headers as a means to target requests. You could consider an nginx redirect or rewrite that would map the header to a specific hostname or path, and use existing targeting methods.
Upvotes: 1