> On 19 May 2021, at 19:51, ladushka <nginx-fo...@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

Reply via email to