5 messages in ru.sysoev.nginxRe: how do i catch a bad gateway?
FromSent OnAttachments
Jonathan VanascoOct 3, 2006 11:55 pm 
Igor SysoevOct 4, 2006 12:03 am 
Cliff WellsOct 4, 2006 10:19 pm 
Jonathan VanascoOct 5, 2006 7:49 am 
Igor SysoevOct 5, 2006 8:03 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: how do i catch a bad gateway?Actions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Oct 4, 2006 12:03:03 am
List:ru.sysoev.nginx

On Wed, 4 Oct 2006, Jonathan Vanasco wrote:

i'm running nginx 0.4.2

i can't figure out how to catch a 502 bad gateway error when the host i proxy_pass to is down

nginx always reports a 404 not found

i know nginx has a 502 in .4.2, because http://codemongers.com/ shows one :)

can anyone offer a clue on the config line ?

Look the default configuration:

# redirect server error pages to the static page /50x.html # error_page 500 502 503 504 /50x.html; location = /50x.html { root html; }