I use ftp-srv behind nginx load balancer.
I write a simple script by nodejs and I got this result:
DATA 127.0.0.1: PROXY TCP4 x.x.x.x 172.18.0.3 46984 21
I have client ip in nginx access.log but I don’t know how can I get it by ftp-srv.
I try to get this from connection.log.fields.ip but ftp-srv returns load balancer ip.