question: how to pass X_Forwarded_For to subgraph and get it from there #4288
billnbell2
started this conversation in
General
Replies: 1 comment
-
By default, the router won't propagate headers unless they are configured for propagation. So, you could add config to cause the header to propagate. However, this wouldn't achieve what you are looking for, since the router won't attach it's own IP address to the chain. I think this is an issue and we should modify the propagation logic so that, if What do you think of the above @billnbell2 ? If you like the sound of that I'll file an issue and we can proceed from there. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do we pass AWS X_Forwarded_For from Cloudfront -> ALB -> Router -> ALB -> Subgraph
https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/x-forwarded-headers.html#x-forwarded-for
We want to get the IP address so we can pass it to Algolia.
Beta Was this translation helpful? Give feedback.
All reactions