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

Enhancement - Detecting Remote IP from behind reverse proxy #9

Closed
c-nv-s opened this issue Mar 4, 2021 · 3 comments
Closed

Enhancement - Detecting Remote IP from behind reverse proxy #9

c-nv-s opened this issue Mar 4, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@c-nv-s
Copy link

c-nv-s commented Mar 4, 2021

If you have the trusted-cgi running behind a reverse proxy then the Remote IP address detected will be the internal IP address of the reverse proxy.

Is it possible to detect the client IP address using the Request Header Value e.g. X-Forwarded-For
This is usually the header that the proxies pass on to the backend server so they are aware of the original client IP address.

@reddec reddec self-assigned this Mar 4, 2021
@reddec reddec added the enhancement New feature or request label Mar 4, 2021
@c-nv-s
Copy link
Author

c-nv-s commented Nov 30, 2021

@reddec did you manage to progress this at all?

@reddec
Copy link
Owner

reddec commented Nov 30, 2021

@c-nv-s Thanks for pinging! I am sorry but I didn't find free time for it yet.
Just in case you will find a moment to do it by yourself, the PR should be trivial (except the new behavior should be enabled explicitly to avoid headers spoofing).

@c-nv-s
Copy link
Author

c-nv-s commented Aug 10, 2022

@reddec re-pinging. Any chance you can revisit this request

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

No branches or pull requests

2 participants