how do i catch a bad gateway?

Jonathan Vanasco nginx at 2xlp.com
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 http://codemongers.com/ shows  
one :)

can anyone offer a clue on the config line ?







More information about the nginx mailing list