Re: In-flight HTTP requests fail during hot configuration reload (SIGHUP)

2015-06-01 Thread Matthew O'Riordan
Hi Maxim Thanks for the reply. Few comments below with context for others reading this thread: >> 1. Telnet to the Nginx server on the HTTP port it is listening on. >> >> 2. Send a HTTP/1.1 request to the upstream server (172.17.0.51): >> GET /health HTTP/1.1 >> Host: localhost >> Connection: K

In-flight HTTP requests fail during hot configuration reload (SIGHUP)

2015-06-01 Thread Matthew O'Riordan
We have recently migrated across from HAProxy to Nginx because it supports true zero-downtime configuration reloads. However, we are occasionally getting 502 and 504 errors from our monitoring systems during deployments. Looking into this, I have been able to consistently replicate the 502 an