# HG changeset patch # User Yaroslav Zhuravlev # Date 1607088845 0 # Node ID 52500ccb82c1250252266acbfd80651256a2bdf3 # Parent 7da360f50017e8650c00673419d7eef48268c6eb Updated docs for the upcoming NGINX Plus release. diff -r 7da360f50017 -r 52500ccb82c1 xml/en/docs/http/ngx_http_upstream_hc_module.xml --- a/xml/en/docs/http/ngx_http_upstream_hc_module.xml Fri Dec 04 12:26:13 2020 +0000 +++ b/xml/en/docs/http/ngx_http_upstream_hc_module.xml Fri Dec 04 13:34:05 2020 +0000 @@ -201,6 +201,36 @@ port. + +type=grpc +[grpc_service=name] +[grpc_status=code] + + +enables periodic +health +checks of a gRPC server +or a particular gRPC service specified with the optional +grpc_service parameter (1.19.5). +If the server does not support the gRPC Health Checking Protocol, +the optional grpc_status parameter can be used +to specify non-zero gRPC +status +(for example, +status code “12” / “UNIMPLEMENTED”) +that will be treated as healthy: + +health_check mandatory type=grpc grpc_status=12; + +The type=grpc parameter +must be specified after all other directive parameters, +grpc_service and grpc_status +must follow type=grpc. +The parameter is not compatible with +uri or +match parameters. + + diff -r 7da360f50017 -r 52500ccb82c1 xml/en/docs/http/ngx_http_upstream_module.xml --- a/xml/en/docs/http/ngx_http_upstream_module.xml Fri Dec 04 12:26:13 2020 +0000 +++ b/xml/en/docs/http/ngx_http_upstream_module.xml Fri Dec 04 13:34:05 2020 +0000 @@ -961,6 +961,7 @@ [expires=time] [domain=domain] [httponly] + [samesite=strict|lax|none] [secure] [path=path] @@ -1050,10 +1051,19 @@ Adds the HttpOnly attribute to the cookie (1.7.11). +samesite=strict | +lax | none + +Adds the SameSite attribute to the cookie +with one of the following values (1.19.4): +Strict, +Lax, or +None. + + secure Adds the Secure attribute to the cookie (1.7.11). - path=path diff -r 7da360f50017 -r 52500ccb82c1 xml/en/docs/stream/ngx_stream_zone_sync_module.xml --- a/xml/en/docs/stream/ngx_stream_zone_sync_module.xml Fri Dec 04 12:26:13 2020 +0000 +++ b/xml/en/docs/stream/ngx_stream_zone_sync_module.xml Fri Dec 04 13:34:05 2020 +0000 @@ -320,6 +320,41 @@ + +command + +stream +server +1.19.4 + + +Sets arbitrary OpenSSL configuration +commands +when establishing a connection with another cluster server. + +The directive is supported when using OpenSSL 1.0.2 or higher. + + + + +Several zone_sync_ssl_conf_command directives +can be specified on the same level. +These directives are inherited from the previous configuration level +if and only if there are +no zone_sync_ssl_conf_command directives +defined on the current level. + + + + +Note that configuring OpenSSL directly +might result in unexpected behavior. + + + + + + file diff -r 7da360f50017 -r 52500ccb82c1 xml/ru/docs/http/ngx_http_upstream_hc_module.xml --- a/xml/ru/docs/http/ngx_http_upstream_hc_module.xml Fri Dec 04 12:26:13 2020 +0000 +++ b/xml/ru/docs/http/ngx_http_upstream_hc_module.xml Fri Dec 04 13:34:05 2020 +0000 @@ -201,6 +201,36 @@ сервера. + +type=grpc +[grpc_service=имя] +[grpc_status=код] + + +активирует периодические +проверки +работоспособности gRPC-сервера +или службы gRPC, указанной при помощи необязательного +параметра grpc_service (1.19.5). +Если сервер не поддерживает протокол проверки работоспособности gRPC, +то можно использовать необязательный параметр grpc_status +для указания +статуса +(например +статус “12” / “UNIMPLEMENTED”) +при получении которого сервер признаётся работоспособным: + +health_check mandatory type=grpc grpc_status=12; + +Параметр type=grpc +должен быть указан после остальных параметров директивы, +grpc_service и grpc_status +должны быть указаны после type=grpc. +Параметр несовместим с параметрами +uri и +match. + + diff -r 7da360f50017 -r 52500ccb82c1 xml/ru/docs/http/ngx_http_upstream_module.xml --- a/xml/ru/docs/http/ngx_http_upstream_module.xml Fri Dec 04 12:26:13 2020 +0000 +++ b/xml/ru/docs/http/ngx_http_upstream_module.xml Fri Dec 04 13:34:05 2020 +0000 @@ -971,6 +971,7 @@ [expires=время] [domain=домен] [httponly] + [samesite=strict|lax|none] [secure] [path=путь] @@ -1058,6 +1059,16 @@ Добавляет атрибут HttpOnly к куке (1.7.11). +samesite=strict | +lax | none + +Добавляет атрибут SameSite к куке +с одним из следующих значений (1.19.4): +Strict, +Lax или +None. + + secure Добавляет атрибут Secure к куке (1.7.11).