Is there any way to reverse proxy FTP (or SFTP) connections as you can do with HTTP traffic? I already have working setup fot HTTP connections with nginx-proxy and I was wondering if I can route the FTP connections in similar way:
User connects ftp.domain1.com --> FTP proxy --> container1 (with -e HOST=ftp.domain1.com)
User connects ftp.domain2.com --> FTP proxy --> container2 (with -e HOST=ftp.domain2.com)
And both of the containers are running in the same machine and have the same IP address.