Score:0

multiple upstream groups in nginx.conf

us flag

Nginx beginner's questions: are multiple upstream definitions allowed in the config, e.g:

  upstream backendA {
    server host1:443;
  }

  upstream backendB {
    server host2:443;
  }

  location addrA {
    https://backendA/;
  }

  location addrB {
    https://backendB/;
  }

}
Richard Smith avatar
jp flag
Yes, but your example is incorrect, as `upsteam` statements go into the `http` or `stream` block and `location` statements go into a `server` or another `location` block.
user3621726 avatar
us flag
thank you @RichardSmith
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.