Setting an error_page for upstream timeouts

Edho Arief edho at myconan.net
Fri Dec 23 04:20:05 UTC 2011


On Fri, Dec 23, 2011 at 10:59 AM, Dustin Moskovitz
<dustin.moskovitz at gmail.com> wrote:
> I have a seemingly simple question about configuration, but have been unable
> to find the answer through searching so far. I just want to override the
> default 504 page when the upstream server times out, which I would have
> thought would be handled by the error_page setting. Can anyone help?
>

this parameter

http://wiki.nginx.org/HttpProxyModule#proxy_intercept_errors

should help.

-- 
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org



More information about the nginx mailing list