Skip to content

How to obtain the real user IP address. #383

Answered by tiangolo
WuKaiYi asked this question in Questions
Discussion options

You must be logged in to vote

You would probably need whatever is the termination proxy (maybe something like Traefik) to tell you what's the final user's IP in a header.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by tiangolo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #325 on August 29, 2024 00:24.