Re: Graceful backend shutdown

2013-10-08 Thread Aivaras La
Maxim Dounin wrote in post #1123727: > Hello! > > On Mon, Oct 07, 2013 at 10:08:48AM +0200, Aivaras La wrote: > >> Hi all! >> >> I'm using Nginx as a reverse proxy and loadbalancer with 2 backends. >> Sometimes I need to turn off one of the apps server

Graceful backend shutdown

2013-10-07 Thread Aivaras La
Hi all! I'm using Nginx as a reverse proxy and loadbalancer with 2 backends. Sometimes I need to turn off one of the apps server. And I need to do it gracefully, that when I comment one server in Nginx config, Nginx master process starts to send new requests to new server, but old requests and se