Re: Max_fails for proxy_pass without an upstream block

2019-05-24 Thread Sergey Kandaurov
> On 3 May 2019, at 02:12, jarstewa wrote: > > Is there an equivalent of max_fails > (http://nginx.org/en/docs/http/ngx_http_upstream_module.html#max_fails) if > I'm using proxy_pass without an upstream block? > Not that I'm aware of. -- Sergey Kandaurov ___

Re: Max_fails for proxy_pass without an upstream block

2019-05-17 Thread jarstewa
Bumping this thread in the hopes that someone knows the answer. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,284004,284208#msg-284208 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Max_fails for proxy_pass without an upstream block

2019-05-02 Thread jarstewa
Is there an equivalent of max_fails (http://nginx.org/en/docs/http/ngx_http_upstream_module.html#max_fails) if I'm using proxy_pass without an upstream block? E.g. http { server { resolver 10.0.0.2 valid=5s; set $upstream_server http://foo.bar:80; location ~* \.(html)$ {