This is my configuration. I am getting 502 Bad Gateway with upstream prematurely closed connection while reading response header from upstream, client error.
I have set <