Skip to content

How get user IP when using a 'Proxy' #5027

Discussion options

You must be logged in to vote

by applying https://werkzeug.palletsprojects.com/en/2.2.x/middleware/proxy_fix/

this is intentionally not the default to protect apps from being passed those headers with malicious intent

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@RonnyPfannschmidt
Comment options

@BobSquarePants
Comment options

@RonnyPfannschmidt
Comment options

@BobSquarePants
Comment options

Answer selected by BobSquarePants
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants