Skip to content

Sentry ignores remote IP address with nginx proxy (X-Forwarded-For header) #1254

@renomateo

Description

@renomateo

The proxy's IP is showing up on the event details page instead of the user's. I've configured this correctly for my other application running behind the same proxy and I've verified that the header is making its way to sentry using a simple node.js express app that spits out everything about the request.

I can't find this header string anywhere in the code. Looks like something like this will be necessary: http://stackoverflow.com/a/5976065

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions