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

log X-Forwarded-For IP instead of remote IP where appropriate #36

Open
patrickod opened this issue Dec 21, 2016 · 1 comment
Open

log X-Forwarded-For IP instead of remote IP where appropriate #36

patrickod opened this issue Dec 21, 2016 · 1 comment

Comments

@patrickod
Copy link
Collaborator

Currently when deployed behind any sort of load balancing apparatus the logs will display the remote IP of the load balancer in the request logs. Most of these set an extra X-Forwarded-For header which we should log instead as the source of the request.

@nsheridan
Copy link
Owner

gorilla/handlers#86 looks related

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

2 participants