awesome! thanks a lot!<br><br><div class="gmail_quote">On Tue, Nov 8, 2011 at 3:50 PM, Igor Sysoev <span dir="ltr"><<a href="mailto:igor@sysoev.ru">igor@sysoev.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Tue, Nov 08, 2011 at 03:36:14PM -0300, Jonathan Leibiusky wrote:<br>
> 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" target="_blank">xxx.yyy.com</a>;<br>
> location / {<br>
> error_page 500 502 503 @fallback;<br>
> proxy_pass <a href="http://upstream1" target="_blank">http://upstream1</a>;<br>
<br>
</div> proxy_intercept_errors on;<br>
<div class="HOEnZb"><div class="h5"><br>
> }<br>
> location @fallback {<br>
> proxy_pass <a href="http://upstream2" target="_blank">http://upstream2</a>;<br>
> }<br>
> }<br>
><br>
> And for some reason I don't get to upstream2 even if requests from<br>
> upstream1 are 500.<br>
> Am I doing something wrong?<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Igor Sysoev<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</font></span></blockquote></div><br>