Nginx Template: Fail over to a new app node on a 502