Welcome! Log In Create A New Profile

Advanced

Max_fails for proxy_pass without an upstream block

May 02, 2019 07:12PM
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)$ {
proxy_pass $upstream_server;
}
}
}
Subject Author Posted

Max_fails for proxy_pass without an upstream block

jarstewa May 02, 2019 07:12PM

Re: Max_fails for proxy_pass without an upstream block

jarstewa May 17, 2019 02:31PM

Re: Max_fails for proxy_pass without an upstream block

Sergey Kandaurov May 24, 2019 11:32AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 77
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready