# HG changeset patch # User Yaroslav Zhuravlev # Date 1461853664 -10800 # Node ID d855e7cc3b2fa054148335c2ff08f23bdb8a39f0 # Parent aa95174efa805eee28c6d2b5ac3ff283730ca5fd Added the "transparent" parameter of proxy_bind and friends. diff --git a/xml/en/docs/http/ngx_http_fastcgi_module.xml b/xml/en/docs/http/ngx_http_fastcgi_module.xml --- a/xml/en/docs/http/ngx_http_fastcgi_module.xml +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml @@ -10,7 +10,7 @@ + rev="34">
@@ -45,7 +45,7 @@ location / {
-address | off +address [transparent] | off http server @@ -62,6 +62,21 @@ inherited from the previous configuratio system to auto-assign the local IP address. + +The transparent parameter (1.11.0) allows +outgoing connections to a FastCGI server originate +from a non-local IP address, +for example, from a real IP address of a client: + +fastcgi_bind $remote_addr transparent; + +In order for this parameter to work, +it is necessary to run nginx worker processes with the +superuser privileges +and configure kernel routing table +to intercept network traffic from the FastCGI server. + + diff --git a/xml/en/docs/http/ngx_http_memcached_module.xml b/xml/en/docs/http/ngx_http_memcached_module.xml --- a/xml/en/docs/http/ngx_http_memcached_module.xml +++ b/xml/en/docs/http/ngx_http_memcached_module.xml @@ -10,7 +10,7 @@ + rev="13">
@@ -49,7 +49,7 @@ server {
-address | off +address [transparent] | off http server @@ -66,6 +66,21 @@ inherited from the previous configuratio system to auto-assign the local IP address. + +The transparent parameter (1.11.0) allows +outgoing connections to a memcached server originate +from a non-local IP address, +for example, from a real IP address of a client: + +memcached_bind $remote_addr transparent; + +In order for this parameter to work, +it is necessary to run nginx worker processes with the +superuser privileges +and configure kernel routing table +to intercept network traffic from the memcached server. + + diff --git a/xml/en/docs/http/ngx_http_proxy_module.xml b/xml/en/docs/http/ngx_http_proxy_module.xml --- a/xml/en/docs/http/ngx_http_proxy_module.xml +++ b/xml/en/docs/http/ngx_http_proxy_module.xml @@ -10,7 +10,7 @@ + rev="47">
@@ -40,7 +40,7 @@ location / {
-address | off +address [transparent] | off http server @@ -57,6 +57,21 @@ inherited from the previous configuratio system to auto-assign the local IP address. + +The transparent parameter (1.11.0) allows +outgoing connections to a proxied server originate +from a non-local IP address, +for example, from a real IP address of a client: + +proxy_bind $remote_addr transparent; + +In order for this parameter to work, +it is necessary to run nginx worker processes with the +superuser privileges +and configure kernel routing table +to intercept network traffic from the proxied server. + + diff --git a/xml/en/docs/http/ngx_http_scgi_module.xml b/xml/en/docs/http/ngx_http_scgi_module.xml --- a/xml/en/docs/http/ngx_http_scgi_module.xml +++ b/xml/en/docs/http/ngx_http_scgi_module.xml @@ -10,7 +10,7 @@ + rev="23">
@@ -39,7 +39,7 @@ location / {
-address | off +address [transparent] | off http server @@ -55,6 +55,21 @@ inherited from the previous configuratio system to auto-assign the local IP address. + +The transparent parameter (1.11.0) allows +outgoing connections to an SCGI server originate +from a non-local IP address, +for example, from a real IP address of a client: + +scgi_bind $remote_addr transparent; + +In order for this parameter to work, +it is necessary to run nginx worker processes with the +superuser privileges +and configure kernel routing table +to intercept network traffic from the SCGI server. + + diff --git a/xml/en/docs/http/ngx_http_uwsgi_module.xml b/xml/en/docs/http/ngx_http_uwsgi_module.xml --- a/xml/en/docs/http/ngx_http_uwsgi_module.xml +++ b/xml/en/docs/http/ngx_http_uwsgi_module.xml @@ -10,7 +10,7 @@ + rev="26">
@@ -39,7 +39,7 @@ location / {
-address | off +address [transparent] | off http server @@ -55,6 +55,21 @@ inherited from the previous configuratio system to auto-assign the local IP address. + +The transparent parameter (1.11.0) allows +outgoing connections to a uwsgi server originate +from a non-local IP address, +for example, from a real IP address of a client: + +uwsgi_bind $remote_addr transparent; + +In order for this parameter to work, +it is necessary to run nginx worker processes with the +superuser privileges +and configure kernel routing table +to intercept network traffic from the uwsgi server. + + diff --git a/xml/en/docs/stream/ngx_stream_proxy_module.xml b/xml/en/docs/stream/ngx_stream_proxy_module.xml --- a/xml/en/docs/stream/ngx_stream_proxy_module.xml +++ b/xml/en/docs/stream/ngx_stream_proxy_module.xml @@ -9,7 +9,7 @@ + rev="14">
@@ -57,7 +57,7 @@ server {
-address | off +address [transparent] | off stream server @@ -72,6 +72,21 @@ inherited from the previous configuratio system to auto-assign the local IP address. + +The transparent parameter (1.11.0) allows +outgoing connections to a proxied server originate +from a non-local IP address, +for example, from a real IP address of a client: + +proxy_bind $remote_addr transparent; + +In order for this parameter to work, +it is necessary to run nginx worker processes with the +superuser privileges +and configure kernel routing table +to intercept network traffic from the proxied server. + + diff --git a/xml/ru/docs/http/ngx_http_fastcgi_module.xml b/xml/ru/docs/http/ngx_http_fastcgi_module.xml --- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml +++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml @@ -10,7 +10,7 @@ + rev="34">
@@ -45,7 +45,7 @@ location / {
-адрес | off +адрес [transparent] | off http server @@ -62,6 +62,21 @@ location / { самостоятельно выбирать локальный IP-адрес. + +Параметр transparent (1.11.0) позволяет +задать нелокальный IP-aдрес, который будет использоваться в +исходящих соединениях с FastCGI-сервером, +например, реальный IP-адрес клиента: + +fastcgi_bind $remote_addr transparent; + +Для работы параметра +необходимо запустить рабочие процессы nginx с привилегиями +суперпользователя, +а также настроить таблицу маршрутизации ядра +для перехвата сетевого трафика с FastCGI-сервера. + + diff --git a/xml/ru/docs/http/ngx_http_memcached_module.xml b/xml/ru/docs/http/ngx_http_memcached_module.xml --- a/xml/ru/docs/http/ngx_http_memcached_module.xml +++ b/xml/ru/docs/http/ngx_http_memcached_module.xml @@ -10,7 +10,7 @@ + rev="13">
@@ -49,7 +49,7 @@ server {
-адрес | off +адрес [transparent] | off http server @@ -66,6 +66,21 @@ server { самостоятельно выбирать локальный IP-адрес. + +Параметр transparent (1.11.0) позволяет +задать нелокальный IP-aдрес, который будет использоваться в +исходящих соединениях с сервером memcached, +например, реальный IP-адрес клиента: + +memcached_bind $remote_addr transparent; + +Для работы параметра +необходимо запустить рабочие процессы nginx с привилегиями +суперпользователя, +а также настроить таблицу маршрутизации ядра +для перехвата сетевого трафика с сервера memcached. + + diff --git a/xml/ru/docs/http/ngx_http_proxy_module.xml b/xml/ru/docs/http/ngx_http_proxy_module.xml --- a/xml/ru/docs/http/ngx_http_proxy_module.xml +++ b/xml/ru/docs/http/ngx_http_proxy_module.xml @@ -10,7 +10,7 @@ + rev="47">
@@ -40,7 +40,7 @@ location / {
-адрес | off +адрес [transparent] | off http server @@ -57,6 +57,21 @@ location / { самостоятельно выбирать локальный IP-адрес. + +Параметр transparent (1.11.0) позволяет +задать нелокальный IP-aдрес, который будет использоваться в +исходящих соединениях с проксируемым сервером, +например, реальный IP-адрес клиента: + +proxy_bind $remote_addr transparent; + +Для работы параметра +необходимо запустить рабочие процессы nginx с привилегиями +суперпользователя, +а также настроить таблицу маршрутизации ядра +для перехвата сетевого трафика с проксируемого сервера. + + diff --git a/xml/ru/docs/http/ngx_http_scgi_module.xml b/xml/ru/docs/http/ngx_http_scgi_module.xml --- a/xml/ru/docs/http/ngx_http_scgi_module.xml +++ b/xml/ru/docs/http/ngx_http_scgi_module.xml @@ -10,7 +10,7 @@ + rev="23">
@@ -39,7 +39,7 @@ location / {
-адрес | off +адрес [transparent] | off http server @@ -55,6 +55,21 @@ location / { самостоятельно выбирать локальный IP-адрес. + +Параметр transparent (1.11.0) позволяет +задать нелокальный IP-aдрес, который будет использоваться в +исходящих соединениях с SCGI-сервером, +например, реальный IP-адрес клиента: + +scgi_bind $remote_addr transparent; + +Для работы параметра +необходимо запустить рабочие процессы nginx с привилегиями +суперпользователя, +а также настроить таблицу маршрутизации ядра +для перехвата сетевого трафика с SCGI-сервера. + + diff --git a/xml/ru/docs/http/ngx_http_uwsgi_module.xml b/xml/ru/docs/http/ngx_http_uwsgi_module.xml --- a/xml/ru/docs/http/ngx_http_uwsgi_module.xml +++ b/xml/ru/docs/http/ngx_http_uwsgi_module.xml @@ -10,7 +10,7 @@ + rev="26">
@@ -39,7 +39,7 @@ location / {
-адрес | off +адрес [transparent] | off http server @@ -55,6 +55,21 @@ location / { самостоятельно выбирать локальный IP-адрес. + +Параметр transparent (1.11.0) позволяет +задать нелокальный IP-aдрес, который будет использоваться в +исходящих соединениях с uwsgi-сервером, +например, реальный IP-адрес клиента: + +uwsgi_bind $remote_addr transparent; + +Для работы параметра +необходимо запустить рабочие процессы nginx с привилегиями +суперпользователя, +а также настроить таблицу маршрутизации ядра +для перехвата сетевого трафика с uwsgi-сервера. + + diff --git a/xml/ru/docs/stream/ngx_stream_proxy_module.xml b/xml/ru/docs/stream/ngx_stream_proxy_module.xml --- a/xml/ru/docs/stream/ngx_stream_proxy_module.xml +++ b/xml/ru/docs/stream/ngx_stream_proxy_module.xml @@ -9,7 +9,7 @@ + rev="14">
@@ -57,7 +57,7 @@ server {
-адрес | off +адрес [transparent] | off stream server @@ -72,6 +72,21 @@ server { самостоятельно выбирать локальный IP-адрес. + +Параметр transparent (1.11.0) позволяет +задать нелокальный IP-aдрес, который будет использоваться в +исходящих соединениях с проксируемым сервером, +например, реальный IP-адрес клиента: + +proxy_bind $remote_addr transparent; + +Для работы параметра +необходимо запустить рабочие процессы nginx с привилегиями +суперпользователя, +а также настроить таблицу маршрутизации ядра +для перехвата сетевого трафика с проксируемого сервера. + +