Score:0

Nginx proxy_pass same host and port different target

us flag

I have three instances where I run an SFTP service, each with its respective host name sftp.domain1.com, sftp.domain2.com and sftp.domain3.com, all responding to the same IP (instance number four)

I have installed a four instance which will work with Nginx proxy_pass as a kind of balancer to send the requests to the appropriate instance according to the connection host.

Any help doing this?

sftp.domain1.com => nginx proxy_pass => instance 1

sftp.domain2.com => nginx proxy_pass => instance 2

sftp.domain3.com => nginx proxy_pass => instance 3

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.