I am wrecking my brain around this.
The nginx conf is a simple proxy_pass to the upstream server.
The upstream server gives an http-400 but with a custom made JSON response.
Through the proxy the call however comes with a JSON {"message":"Bad Request","code":400}
so nginx ignores the response of the upstream server?
I know I'm doing something wrong, but what?