Hi! I'm using nginx 1.0.4 and I have the following configuration:<br><br>server {<br> listen 8080;<br> server_name <a href="http://xxx.yyy.com">xxx.yyy.com</a>;<br> location / {<br> error_page 500 502 503 @fallback;<br>
proxy_pass <a href="http://upstream1">http://upstream1</a>;<br> }<br> location @fallback {<br> proxy_pass <a href="http://upstream2">http://upstream2</a>;<br> }<br>}<br><br>And for some reason I don't get to upstream2 even if requests from upstream1 are 500.<br>
Am I doing something wrong?<br><br>Thanks!<br><br>Jonathan<br><br>