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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to