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
Pass X-Forwarded-For header from http requests into logs #659
Labels
enhancement
New feature or request
Comments
valyala
added a commit
that referenced
this issue
Jul 29, 2020
valyala
added a commit
that referenced
this issue
Jul 29, 2020
The |
FYI, the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We using http reverse proxy in front of some VM components. As a result, VM writing into logs proxy's address, instead of original client address, which sometimes makes it difficult to debug. Proxy passing original address in standard
X-Forwarded-For
header, but it looks like VM ignores it.I suggest to support
X-Forwarded-For
header. If it presents in request, use its value in logs as client address, or write it as additional filed in logs.The text was updated successfully, but these errors were encountered: