Welcome! Log In Create A New Profile

Advanced

Re: NGINX and 5xx

Sergey Kandaurov
May 19, 2021 01:12PM
> On 19 May 2021, at 19:51, ladushka <nginx-forum@forum.nginx.org> wrote:
>
> Hello Friends,
> is there way to pass 5xx to client?
> to be clear: Not mark upstream server as down, instead of this pass all 5xx
> to client (ignore all errors)
>

This break into the two parts: passing errors, such as 5xx, to client
and preventing upstream server from marking as down.

You may want to adjust proxy_next_upstream to reconsider what an
unsuccessful attempt is used to be, to pass 5xx to client.
Besides that, an unsuccessful attempt counts toward max_fails.
max_fails=0 is used to disable such an accounting.

http://nginx.org/en/docs/http/ngx_http_upstream_module.html#max_fails

--
Sergey Kandaurov

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

NGINX and 5xx

ladushka May 19, 2021 12:51PM

Re: NGINX and 5xx

Sergey Kandaurov May 19, 2021 01:12PM

Re: NGINX and 5xx

ladushka May 19, 2021 04:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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