Skip to content

REMOTE_ADDR behind a proxy #136

Description

@troelskn

I'm proxying requests through nginx to my rails app, which means that REMOTE_ADDR will always be 127.0.0.1. That's not overly helpful to have show up in the overview section within Sentry. Would it be possible to mend raven-ruby to pass X-Real-IP along as an environment variable, if present?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions