Client IP authentication behind a proxy #55
-
In a commit 0867599 checking
Do I understand correctly that this is mostly for simplifying and unifying the authentication code and does not mean to imply that running behind a proxy excludes client IP authentication? Or is there a reason for a proxy not to forward If not, maybe also the README should suggest configuring forwarded headers to make |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
X-Forwarded-For is easy to be forged, and the implementation of X-Real-IP in each proxy server is more secure. So the built-in Client IP function removes the judgment of X-Forwarded-For. |
Beta Was this translation helpful? Give feedback.
X-Forwarded-For is easy to be forged, and the implementation of X-Real-IP in each proxy server is more secure. So the built-in Client IP function removes the judgment of X-Forwarded-For.