June 12, 2009 04:15PM
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?
Subject Author Posted

502 from upstream not handled by nginx error_page

JamesHarrison June 12, 2009 04:15PM

Re: 502 from upstream not handled by nginx error_page

Igor Sysoev June 12, 2009 04:27PM

Re: 502 from upstream not handled by nginx error_page

JamesHarrison June 12, 2009 05:27PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 133
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready