Skip to content

request.ip with trustProxy as true #5304

Answered by metcoder95
outbackStack asked this question in Q&A
Discussion options

You must be logged in to vote

Hmm, by any chance have you debug what are the values that you received through x-forwarded-host or x-forwarded-proto? Have you recently updated your nginx version or so?
Maybe you should also verify your are mapping the headers correctly, see this as reference

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@metcoder95
Comment options

Answer selected by outbackStack
@outbackStack
Comment options

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