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

Real IP if client behind load balancer #21

Closed
wants to merge 1 commit into from

Conversation

arescope
Copy link

@arescope arescope commented Oct 1, 2014

Hi,

If the webserver is behind a load balancer, for example, in AWS with an elastic load balancer, the REMOTE_ADDR will be the ELB ip, not the client ip.

Best regards,

Alberto

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.33%) when pulling b7a1be0 on ThatGreenSpace:fix-client-ip into 105ec5c on Bouke:master.

@Bouke
Copy link
Collaborator

Bouke commented Oct 1, 2014

Although I can see why you'd want this, it would be a bad idea to merge this feature. It was proposed before, please see this comment for further explanation.

@Bouke
Copy link
Collaborator

Bouke commented Oct 1, 2014

See also #20 which tries to do a similar thing, but we're making using those headers opt-in instead.

@arescope
Copy link
Author

arescope commented Oct 1, 2014

Cool, no problem. Thank you!

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

Successfully merging this pull request may close these issues.

None yet

3 participants