RE: Nginx SFTP/FTP loadbalancer

Dears,
This is Felix which is from Lenovo.I need your kindly help of nginx.
Here is one question of nginx SFTP/FTP loadbalancer.
The backend is two machines 10.96.144.195/10.96.144.196 service IP is
10.96.144.197 which have some http,https,SFTP and FTP service.
The frontend systems send some data to 10.96.144.195/10.96.144.196 by
10.96.144.197.
Now we want to use nginx to do the loadbalancer which dispatch the
http,https,SFTP and FTP to 10.96.144.195/10.96.144.196 not by
10.96.144.197.
I could configure the nginx.conf to loadbalancer the http and https
service.
But how to loadbalancer SFTP and FTP service?
Could you give me one configuration example for SFTP and FTP service?
BR
Felix zhang

Hi,

You would proxy pass to the backend. Lookup how the smtp is done with
nginx.

Personally i use nginx for http based and haproxy for any other tcp
based load balancing, ive had some great success in this method.


Payam C.
Network Engineer / Security Specialist