503 then phantom is down and 503 when queue reached #16

shumkov opened this Issue Jun 26, 2014 · 2 comments


None yet

2 participants

shumkov commented Jun 26, 2014

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:

  1. Send different http status codes
  2. Fix phantom JS error handling

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?


Resolve #22

@Stanback Stanback closed this Jul 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment