Skip to content

[HTTP] How to get client's real IP address? #1190

Answered by rustatian
codercms asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @codercms 👋🏻
trusted_subnets activated by the separate middleware: https://github.com/roadrunner-server/proxy_ip_parser.

If X-Forwarded-For sits before X-Real-IP, then RR parses only XFF header.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@codercms
Comment options

@rustatian
Comment options

@codercms
Comment options

Answer selected by codercms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
R-question Question
2 participants