Mercurial > hg > nginx-site
changeset 2477:bdc7cacb164f
Documented variables support in grpc_pass.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 20 Jan 2020 16:45:39 +0300 |
parents | 5307002a2ef5 |
children | ccd7acb53be4 |
files | xml/en/docs/http/ngx_http_grpc_module.xml xml/ru/docs/http/ngx_http_grpc_module.xml |
diffstat | 2 files changed, 20 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_grpc_module.xml +++ b/xml/en/docs/http/ngx_http_grpc_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_grpc_module" link="/en/docs/http/ngx_http_grpc_module.html" lang="en" - rev="2"> + rev="3"> <section id="summary"> @@ -359,6 +359,15 @@ In addition, an address can be specified <link doc="ngx_http_upstream_module.xml">server group</link>. </para> +<para> +Parameter value can contain variables (1.17.8). +In this case, if an address is specified as a domain name, +the name is searched among the described +<link doc="ngx_http_upstream_module.xml">server groups</link>, +and, if not found, is determined using a +<link doc="ngx_http_core_module.xml" id="resolver"/>. +</para> + </directive>
--- a/xml/ru/docs/http/ngx_http_grpc_module.xml +++ b/xml/ru/docs/http/ngx_http_grpc_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_grpc_module" link="/ru/docs/http/ngx_http_grpc_module.html" lang="ru" - rev="2"> + rev="3"> <section id="summary"> @@ -360,6 +360,15 @@ grpc_pass grpcs://127.0.0.1:443; <link doc="ngx_http_upstream_module.xml">группой серверов</link>. </para> +<para> +В значении параметра можно использовать переменные (1.17.8). +В этом случае, если адрес указан в виде доменного имени, +имя ищется среди описанных +<link doc="ngx_http_upstream_module.xml">групп серверов</link> +и если не найдено, то определяется с помощью +<link doc="ngx_http_core_module.xml" id="resolver"/>’а. +</para> + </directive>