Max_fails for proxy_pass without an upstream block
jarstewa
nginx-forum at forum.nginx.org
Thu May 2 23:12:19 UTC 2019
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;
}
}
}
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,284004,284004#msg-284004
More information about the nginx
mailing list