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 [error] 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?