Limits retries for upstream servers (proxy, memcached, fastcgi, scgi, uwsgi).
Using one of the directives below will enable this feature.
Example
http { |
Directives
Syntax: fastcgi_upstream_tries num
Default: -
Context: http, server, locatioon
Limit the maximum number of tries for fastcgi proxy. Nginx tries to connect different server each time.
Syntax: proxy_upstream_tries num
Default: -
Context: http, server, locatioon
Limit the maximum number of tries for http proxy. Nginx tries to connect different server each time.
Syntax: memcached_upstream_tries num
Default: -
Context: http, server, locatioon
Limit the maximum number of tries for memcached proxy. Nginx tries to connect different server each time.
Syntax: scgi_upstream_tries num
Default: -
Context: http, server, locatioon
Limit the maximum number of tries for scgi proxy. Nginx tries to connect different server each time.
Syntax: uwsgi_upstream_tries num
Default: -
Context: http, server, locatioon
Limit the maximum number of tries for uwsgi proxy. Nginx tries to connect different server each time.