Nginx proxy with AWS ELB: Critical handling for intermittent gateway timeout ( 499 or 502 )
This post describes important handling that needs to be put in the Nginx to avoid getting intermittent gateway timeouts during a proxy pass to an AWS ELB. Please read on to see the issue...