Relative Content

Tag Archive for node.jsdockernginxnginx-reverse-proxydocker-network

Can’t get a user IP address in nginx proxy

I have the following nginx configuration in docker. The problem is in my node app (backend proxy) I get an IP of nginx server, not the user real IP when sending requests from frontend using X-Real-IP headers or X-Forwarder-For

Can’t get a user IP address in nginx proxy

I have the following nginx configuration in docker. The problem is in my node app (backend proxy) I get an IP of nginx server, not the user real IP when sending requests from frontend using X-Real-IP headers or X-Forwarder-For