Welcome! Log In Create A New Profile

Advanced

StatusMessage of upstream server is ignored in reverse proxy

Posted by emoracle 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
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?

Online Users

Guests: 94
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