📝 docs: Documentation only changes
This commit is contained in:
parent
2db47315ee
commit
b43137b41d
2 changed files with 14 additions and 0 deletions
|
@ -700,6 +700,14 @@ In some scenarios is required to have different values. To allow this we provide
|
|||
- `nginx.ingress.kubernetes.io/proxy-next-upstream-tries`
|
||||
- `nginx.ingress.kubernetes.io/proxy-request-buffering`
|
||||
|
||||
If you indicate [Backend Protocol](#backend-protocol) as `GRPC` or `GRPCS`, the following values will be applied to gRPC connection as well:
|
||||
|
||||
```
|
||||
grpc_connect_timeout {{ proxy_connect_timeout }}
|
||||
grpc_send_timeout {{ proxy_send_timeout }}
|
||||
grpc_read_timeout {{ proxy_read_timeout }}
|
||||
```
|
||||
|
||||
Note: All timeout values are unitless and in seconds e.g. `nginx.ingress.kubernetes.io/proxy-read-timeout: "120"` sets a valid 120 seconds proxy read timeout.
|
||||
|
||||
### Proxy redirect
|
||||
|
|
|
@ -1142,14 +1142,20 @@ See NGINX [client_max_body_size](https://nginx.org/en/docs/http/ngx_http_core_mo
|
|||
|
||||
Sets the timeout for [establishing a connection with a proxied server](https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_connect_timeout). It should be noted that this timeout cannot usually exceed 75 seconds.
|
||||
|
||||
It will also set the [grpc_connect_timeout](https://nginx.org/en/docs/http/ngx_http_grpc_module.html#grpc_connect_timeout) for gRPC connections.
|
||||
|
||||
## proxy-read-timeout
|
||||
|
||||
Sets the timeout in seconds for [reading a response from the proxied server](https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_read_timeout). The timeout is set only between two successive read operations, not for the transmission of the whole response.
|
||||
|
||||
It will also set the [grpc_read_timeout](https://nginx.org/en/docs/http/ngx_http_grpc_module.html#grpc_read_timeout) for gRPC connections.
|
||||
|
||||
## proxy-send-timeout
|
||||
|
||||
Sets the timeout in seconds for [transmitting a request to the proxied server](https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_send_timeout). The timeout is set only between two successive write operations, not for the transmission of the whole request.
|
||||
|
||||
It will also set the [grpc_send_timeout](https://nginx.org/en/docs/http/ngx_http_grpc_module.html#grpc_send_timeout) for gRPC connections.
|
||||
|
||||
## proxy-buffers-number
|
||||
|
||||
Sets the number of the buffer used for [reading the first part of the response](https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffers) received from the proxied server. This part usually contains a small response header.
|
||||
|
|
Loading…
Reference in a new issue