Hello I want to get the real ip of the client but I'm all ways getting the ip of the ngnix server. I trayed using set_real_ip: http { upstream myapp1 { server 177.17.777.13:8080; }
server { listen 80; real_ip_recursive on; set_real_ip_from 177.17.777.13; real_ip_header X-Forwarded-For; location / { proxy_pass http://myapp1; } } } Posted at Nginx Forum: https://forum.nginx.org/read.php?2,279736,279736#msg-279736 _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx