Mercurial > hg > nginx-site
changeset 1991:4f3dd2f548cf
Documented variables in fastcgi_pass, scgi_pass, and uwsgi_pass.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 26 May 2017 18:58:03 +0300 |
parents | a108f1ff1690 |
children | e92780d00a6d |
files | xml/en/docs/http/ngx_http_fastcgi_module.xml xml/en/docs/http/ngx_http_scgi_module.xml xml/en/docs/http/ngx_http_uwsgi_module.xml xml/ru/docs/http/ngx_http_fastcgi_module.xml xml/ru/docs/http/ngx_http_scgi_module.xml xml/ru/docs/http/ngx_http_uwsgi_module.xml |
diffstat | 6 files changed, 60 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_fastcgi_module.xml +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_fastcgi_module" link="/en/docs/http/ngx_http_fastcgi_module.html" lang="en" - rev="46"> + rev="47"> <section id="summary"> @@ -1268,6 +1268,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. +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/en/docs/http/ngx_http_scgi_module.xml +++ b/xml/en/docs/http/ngx_http_scgi_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_scgi_module" link="/en/docs/http/ngx_http_scgi_module.html" lang="en" - rev="35"> + rev="36"> <section id="summary"> @@ -1168,6 +1168,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. +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/en/docs/http/ngx_http_uwsgi_module.xml +++ b/xml/en/docs/http/ngx_http_uwsgi_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_uwsgi_module" link="/en/docs/http/ngx_http_uwsgi_module.html" lang="en" - rev="39"> + rev="40"> <section id="summary"> @@ -1205,6 +1205,15 @@ In addition, an address can be specified </para> <para> +Parameter value can contain variables. +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> + +<para> <note> Secured uwsgi protocol is supported since version 1.5.8. </note>
--- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml +++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_fastcgi_module" link="/ru/docs/http/ngx_http_fastcgi_module.html" lang="ru" - rev="46"> + rev="47"> <section id="summary"> @@ -1266,6 +1266,15 @@ fastcgi_pass unix:/tmp/fastcgi.socket; <link doc="ngx_http_upstream_module.xml">группой серверов</link>. </para> +<para> +В значении параметра можно использовать переменные. +В этом случае, если адрес указан в виде доменного имени, +имя ищется среди описанных +<link doc="ngx_http_upstream_module.xml">групп серверов</link> +и если не найдено, то определяется с помощью +<link doc="ngx_http_core_module.xml" id="resolver"/>’а. +</para> + </directive>
--- a/xml/ru/docs/http/ngx_http_scgi_module.xml +++ b/xml/ru/docs/http/ngx_http_scgi_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_scgi_module" link="/ru/docs/http/ngx_http_scgi_module.html" lang="ru" - rev="35"> + rev="36"> <section id="summary"> @@ -1165,6 +1165,15 @@ scgi_pass unix:/tmp/scgi.socket; <link doc="ngx_http_upstream_module.xml">группой серверов</link>. </para> +<para> +В значении параметра можно использовать переменные. +В этом случае, если адрес указан в виде доменного имени, +имя ищется среди описанных +<link doc="ngx_http_upstream_module.xml">групп серверов</link> +и если не найдено, то определяется с помощью +<link doc="ngx_http_core_module.xml" id="resolver"/>’а. +</para> + </directive>
--- a/xml/ru/docs/http/ngx_http_uwsgi_module.xml +++ b/xml/ru/docs/http/ngx_http_uwsgi_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_uwsgi_module" link="/ru/docs/http/ngx_http_uwsgi_module.html" lang="ru" - rev="39"> + rev="40"> <section id="summary"> @@ -1199,6 +1199,15 @@ uwsgi_pass unix:/tmp/uwsgi.socket; </para> <para> +В значении параметра можно использовать переменные. +В этом случае, если адрес указан в виде доменного имени, +имя ищется среди описанных +<link doc="ngx_http_upstream_module.xml">групп серверов</link> +и если не найдено, то определяется с помощью +<link doc="ngx_http_core_module.xml" id="resolver"/>’а. +</para> + +<para> <note> Протокол secured uwsgi поддерживается начиная с версии 1.5.8. </note>