Different error code during proxied backend restart?

Marcin Kasperski Marcin.Kasperski at softax.com.pl
Mon Dec 17 16:48:58 MSK 2007


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)?

-- 
----------------------------------------------------------------------
| Marcin Kasperski   | Systems built by humans are always subject
| http://mekk.waw.pl |          to human error. (Parnas)
|                    |
----------------------------------------------------------------------






More information about the nginx mailing list