@fallback is not working in version 1.0.4?

Jonathan Leibiusky ionathan at gmail.com
Tue Nov 8 18:58:44 UTC 2011


awesome! thanks a lot!

On Tue, Nov 8, 2011 at 3:50 PM, Igor Sysoev <igor at sysoev.ru> wrote:

> On Tue, Nov 08, 2011 at 03:36:14PM -0300, Jonathan Leibiusky wrote:
> > Hi! I'm using nginx 1.0.4 and I have the following configuration:
> >
> > server {
> >     listen 8080;
> >     server_name xxx.yyy.com;
> >     location / {
> >     error_page 500 502 503 @fallback;
> >         proxy_pass http://upstream1;
>
>           proxy_intercept_errors  on;
>
> >     }
> >     location @fallback {
> >         proxy_pass http://upstream2;
> >     }
> > }
> >
> > And for some reason I don't get to upstream2 even if requests from
> > upstream1 are 500.
> > Am I doing something wrong?
>
>
> --
> Igor Sysoev
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20111108/569b1b3f/attachment.html>


More information about the nginx mailing list