We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is your feature request related to a problem? Please describe.
it doesn't show the correct ip behind cloudflare
Describe the solution you'd like
add Cf-Connecting-Ip header to the list of headers that the self info plugin uses when the query is ip
Describe alternatives you've considered
there is another header True-Client-IP in cloudflare enterprise plan but the Cf-Connecting-Ip header is always active
Additional context
none required
The text was updated successfully, but these errors were encountered:
Searx is usually run behind a reverse proxy, so you must configure your reverse proxy to forward the given client IP address by cloudflare to Searx.
In no way this is Searx fault.
Sorry, something went wrong.
OT: Cloudflare violates privacy, hosting SearXNG on is a bad idea / searx/searx#1965 (comment)
Further see:
At this line
searxng/searx/plugins/self_info.py
Line 37 in feef577
X-Forwarded-For
Cf-Connecting-Ip
But it won't be supported in this repository for the reasons described above.
No branches or pull requests
Is your feature request related to a problem? Please describe.
it doesn't show the correct ip behind cloudflare
Describe the solution you'd like
add Cf-Connecting-Ip header to the list of headers that the self info plugin uses when the query is ip
Describe alternatives you've considered
there is another header True-Client-IP in cloudflare enterprise plan but the Cf-Connecting-Ip header is always active
Additional context
none required
The text was updated successfully, but these errors were encountered: