502 from upstream not handled by nginx error_page
JamesHarrison
nginx-forum at nginx.us
Sat Jun 13 00:15:24 MSD 2009
Hi,
I'm having issues serving up a custom 502 using upstream; essentially nginx's 502 is always shown, despite having a custom 502 page set up with error_page.
The configuration is here: http://pastie.org/private/8kjglkprvw8pfoeqkjcbug
I've tried this with proxy_intercept_errors on, off, in the location and server blocks. Sadly, no dice.
Error logs show nothing but 2009/06/12 20:04:43 14569#0: *2 no live upstreams while connecting to upstream
The file it's trying to serve from for the 502 page is in the same folder with the same permissions as the static data nginx hosts anyway.
Any ideas why this 502 is being ignored?
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,2871,2871#msg-2871
More information about the nginx
mailing list