<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 17/06/14 15:13, Eric Feldhusen
wrote:<br>
</div>
<blockquote
cite="mid:CAAE5Hwj=t+N3Q+WRcg4FumtoR58K_9Kg-khoVAT8bE16sG+dJQ@mail.gmail.com"
type="cite">
<div dir="ltr">I have a need to adjust a nginx install doing
reverse proxy to a single server now to adjust it to send all
requests it receives to two different upstream servers. </div>
</blockquote>
do you mean <br>
a) send each request to both?<br>
b) send each request to one or the other (like load balancing)<br>
<br>
a) is not possible, simply because of the basics of proxying and
http (there would be 2 http responses mixed into 1 connection)<br>
b) can be done with 1 / location but adding another address to the
upstream block:<br>
<br>
<pre><code>upstream backend {
server <ip address>
</code><code><code> server <ip address></code>
}</code></pre>
<pre><code>server {
location / {
proxy_pass <a href="http://original_upstream">http://backend</a>;
}
}</code></pre>
<br>
</body>
</html>