-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
How do I get client IP addresses behind a reverse proxy? #48
Comments
See #23 and http://docs.meteor.com/#/full/meteor_onconnection. You need to set the This is also mentioned in the README. |
I've got that value set and I'm not seeing the correct IP in the On Wed, Dec 24, 2014 at 9:45 PM, Andrew Mao [email protected]
|
What do you have that value set to, and how many reverse proxies do you have? Can you provide an example of the client's full headers from a This package relies on Meteor's IP address detection, so it's not something that's likely to be an issue with the package. |
Okay then, no worries on fixing it. The value is set to 1 at the moment, as On Fri, Dec 26, 2014 at 1:38 PM, Andrew Mao [email protected]
|
Try printing out |
With my Meteor instance behind a reverse proxy (Nginx) the ipAddr is always 127.0.0.1. Any chance you could detect a forwarded port and use that/add it as a new field?
The text was updated successfully, but these errors were encountered: