on-internet
← Community

How to get client IP of requests via CloudFront?

Stack Overflow ·

According to the doc of CloudFront (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorCustomOrigin.html), client IP can be the front, middle, end of X-Forwarded-For header. Is it rignt? Then how can I get real client IP?

Comments

Sign in or sign up to comment and upvote.

No comments yet.