Re: NGINX and 5xx

2021-05-19 Thread ladushka
Hello Sergey, Thank you for your answer. i already set max_fails=0 , but in case my backend start sending 5xx nginx consider it as Down. that why i,m here .. :( Posted at Nginx Forum: https://forum.nginx.org/read.php?2,291570,291573#msg-291573 ___ ngin

Re: Memory usage in nginx proxy setup and use of min_uses

2021-05-19 Thread Lucas Rolff
> If you nevertheless observe 500 being returned in practice, this might be the > actual thing to focus on. Even with sub 100 requests and 4 workers, I've experienced it multiple times, where simply because the number of cache keys got exceeded, it was throwing 500 internal server errors for ne

Re: NGINX and 5xx

2021-05-19 Thread Sergey Kandaurov
> On 19 May 2021, at 19:51, ladushka 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 preven

NGINX and 5xx

2021-05-19 Thread ladushka
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) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,291570,291570#msg-291570 ___ nginx ma

Re: Help: Using Nginx Reverse Proxy bypass traffic in to a application running in a container

2021-05-19 Thread Francis Daly
On Tue, May 18, 2021 at 07:29:20AM +0530, Amila Gunathilaka wrote: Hi there, I'm not entirely sure what your setup is, so I will describe what I think you have; please correct me where I am wrong. > I have nginx installed on my linux host and* listen on http port 80* and I > want to bypass exter