Different error code during proxied backend restart?
is at rambler-co.ru
Mon Dec 17 16:59:15 MSK 2007
On Mon, Dec 17, 2007 at 02:48:58PM +0100, Marcin Kasperski wrote:
> At the moment, nginx (I use 0.5.33) reports 404 (Not Found) when the
> (reverse-) proxied backend is unavailable (for example, while it is
> being restarted).
> I think it is somewhat confusing, both for normal users, and for bots.
> Wouldn't it be better to report 503 (Service Unavailable)?
In this case nginx reports 502.
Could you make debug log of this request ?
More information about the nginx