You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs-web/configuration/transportserver-resource.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -157,6 +157,8 @@ The upstream defines a destination for the TransportServer. For example:
157
157
name: secure-app
158
158
service: secure-app
159
159
port: 8443
160
+
maxFails: 3
161
+
failTimeout: 30s
160
162
```
161
163
162
164
```eval_rst
@@ -179,6 +181,15 @@ port: 8443
179
181
- The port of the service. If the service doesn't define that port, NGINX will assume the service has zero endpoints and close client connections/ignore datagrams. The port must fall into the range ``1..65535``.
180
182
- ``int``
181
183
- Yes
184
+
* - ``maxFails``
185
+
- Sets the `number <https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#max_fails>`_ of unsuccessful attempts to communicate with the server that should happen in the duration set by the failTimeout parameter to consider the server unavailable. The default ``1``.
186
+
- ``int``
187
+
- No
188
+
* - ``failTimeout``
189
+
- Sets the `time <https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#fail_timeout>`_ during which the specified number of unsuccessful attempts to communicate with the server should happen to consider the server unavailable and the period of time the server will be considered unavailable. The default is ``10s``.
0 commit comments