I want to move request to next upstream (proxy_next_upstream) when the queue is reached (http_503).
Phantom is down when JS error is thrown in application. Prerender send same http status code, but i don't want to move request to error page to next upstream.
I have a two ways:
How about throwing a 500 Internal Server Error when Phantom is down or another internal error occurs and a 503 when the max queue size is reached?