StatusMessage of upstream server is ignored in reverse proxy
December 02, 2023 05:15PM
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?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 104
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready