Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make IP address header configurable #21

Open
flyte opened this issue Jul 15, 2022 · 0 comments
Open

Make IP address header configurable #21

flyte opened this issue Jul 15, 2022 · 0 comments

Comments

@flyte
Copy link

flyte commented Jul 15, 2022

Sometimes the X-Forwarded-For header isn't the one that contains the real user's IP address. For example, if you're behind a CloudFlare proxy, the header you want to use is CF-Connecting-IP.

It would be useful if this app had a setting that could specify which request.META key it used; defaulting to HTTP_X_FORWARDED_FOR as it's set up with now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant