Write same style of nginx configuration regardless of # of nodes