We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 the client IP via this proxy? Is it possible even?
The text was updated successfully, but these errors were encountered:
were you able to find out? I'm wondering the same thing.
Sorry, something went wrong.
same here
Yeah, you can follow my code to do this.
var httpProxy = require("http-proxy"); var proxy = httpProxy.createServer({target:'http://server:80'}); proxy.on('proxyReq',function(proxyReq, req, res){ var address = LOG_DIR+req.socket.remoteAddress; } );
No branches or pull requests
How do i get the client IP via this proxy? Is it possible even?
The text was updated successfully, but these errors were encountered: