Welcome! Log In Create A New Profile

Advanced

Re: Handling redirects among upstream servers

B.R.
November 10, 2014 01:16PM
I suppose it has to do with the fact that error_page masks errors coming
from the backend, impersonating them with nginx.
If nginx shows a 404 when the backend actually generated it, and you digged
improperly into the logs, you might be fooled by that and get lost when
trying to trace the error.

If you decide to use per-backend error pages (to help differentiating where
the error comes from), then the whole thing becomes useless...

Thus, you need to know what you are doing: masking errors from the backend
is IMHO a double-edged sword.
---
*B. R.*

On Mon, Nov 10, 2014 at 1:29 PM, Maxim Dounin <mdounin@mdounin.ru> wrote:

> Hello!
>
> On Fri, Nov 07, 2014 at 02:05:38PM -0500, zappa wrote:
>
> > Btw, why is it you don't recomment using the error_page method?
>
> It's an error-prone approach.
>
> --
> Maxim Dounin
> http://nginx.org/
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Handling redirects among upstream servers

zappa November 07, 2014 05:11AM

Re: Handling redirects among upstream servers

Maxim Dounin November 07, 2014 09:04AM

Re: Handling redirects among upstream servers

zappa November 07, 2014 12:25PM

Re: Handling redirects among upstream servers

zappa November 07, 2014 02:05PM

Re: Handling redirects among upstream servers

Maxim Dounin November 10, 2014 07:32AM

Re: Handling redirects among upstream servers

B.R. November 10, 2014 01:16PM

Re: Handling redirects among upstream servers

zappa November 11, 2014 03:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 55
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready