Mercurial > hg > nginx-site
diff xml/ru/docs/http/ngx_http_uwsgi_module.xml @ 1696:d855e7cc3b2f
Added the "transparent" parameter of proxy_bind and friends.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Thu, 28 Apr 2016 17:27:44 +0300 |
parents | 9c98c4498f08 |
children | ce3e89d13fa0 |
line wrap: on
line diff
--- a/xml/ru/docs/http/ngx_http_uwsgi_module.xml Wed May 04 17:35:39 2016 +0300 +++ b/xml/ru/docs/http/ngx_http_uwsgi_module.xml Thu Apr 28 17:27:44 2016 +0300 @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_uwsgi_module" link="/ru/docs/http/ngx_http_uwsgi_module.html" lang="ru" - rev="25"> + rev="26"> <section id="summary"> @@ -39,7 +39,7 @@ <section id="directives" name="Директивы"> <directive name="uwsgi_bind"> -<syntax><value>адрес</value> | <literal>off</literal></syntax> +<syntax><value>адрес</value> [transparent] | <literal>off</literal></syntax> <default/> <context>http</context> <context>server</context> @@ -55,6 +55,21 @@ самостоятельно выбирать локальный IP-адрес. </para> +<para id="uwsgi_bind_transparent"> +Параметр <literal>transparent</literal> (1.11.0) позволяет +задать нелокальный IP-aдрес, который будет использоваться в +исходящих соединениях с uwsgi-сервером, +например, реальный IP-адрес клиента: +<example> +uwsgi_bind $remote_addr transparent; +</example> +Для работы параметра +необходимо запустить рабочие процессы nginx с привилегиями +<link doc="../ngx_core_module.xml" id="user">суперпользователя</link>, +а также настроить таблицу маршрутизации ядра +для перехвата сетевого трафика с uwsgi-сервера. +</para> + </directive>