Hold requests long enough for me to restart upstream?
mike503 at gmail.com
Sat Mar 21 03:22:54 MSK 2009
Fri, Mar 20, 2009 at 5:07 PM, Rt Ibmer <rtibmx at yahoo.com> wrote:
> Correct - just one upstream right now. So what I am looking for would essentially be a "pause". To tell it "hey if nothing's listening and there's no other upstream just queue the requests and wait x seconds, then retry".
> So it sounds like there is nothing to do this right now. Perhaps it is a feature to be considered. Thanks.
You could use a proxy on localhost to nginx that forwards the request...
It would timeout if it couldn't make the request, but at least the
socket would be openable.
More information about the nginx