Support proxy_next_upstream_timeout
This commit is contained in:
parent
11539da09d
commit
ffeb1fe348
9 changed files with 113 additions and 60 deletions
|
|
@ -73,6 +73,10 @@ type Backend struct {
|
|||
// http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream
|
||||
ProxyNextUpstream string `json:"proxy-next-upstream"`
|
||||
|
||||
// Limits the time during which a request can be passed to the next server.
|
||||
// http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream_timeout
|
||||
ProxyNextUpstreamTimeout int `json:"proxy-next-upstream-timeout"`
|
||||
|
||||
// Limits the number of possible tries for passing a request to the next server.
|
||||
// https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream_tries
|
||||
ProxyNextUpstreamTries int `json:"proxy-next-upstream-tries"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue