how do i catch a bad gateway?

Jonathan Vanasco nginx at
Wed Oct 4 10:56:04 MSD 2006

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 shows  
one :)

can anyone offer a clue on the config line ?

More information about the nginx mailing list