-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cookie based routing #14
Comments
This will allow me to switch from my HAProxy homegrown solution to AppMesh |
You can use cookie values in routing using the header based routing which is launched in our Preview Channel. Check it out and let us know what you think! https://github.com/aws/aws-app-mesh-examples/tree/master/blogs/http-headers-and-priority |
I think we can moved this to done for now. Today you can match cookies by matching the Cookie header using regex. For example, if you wanted to match http requests that had a cookie named {
"httpRoute": {
"match": {
"headers": {
"name": "cookie",
"match": {
"regex": "my_cookie=[^;]*"
}
}
}
}
} We can certainly revisit this to improve the ergonomics of it a bit. Please feel free to chime in on this issue if you'd like to see us iterate on this. |
No description provided.
The text was updated successfully, but these errors were encountered: