# HG changeset patch # User Yaroslav Zhuravlev # Date 1601392213 -3600 # Node ID 2fd28cd4f2f825f3dfcdcbb5589c0096298e9bbb # Parent 5c5a36560f97dc261ea50ccc80a5ec7f1c2fd558 Added set module for stream. diff --git a/xml/en/GNUmakefile b/xml/en/GNUmakefile --- a/xml/en/GNUmakefile +++ b/xml/en/GNUmakefile @@ -113,6 +113,7 @@ REFS = \ stream/ngx_stream_proxy_module \ stream/ngx_stream_realip_module \ stream/ngx_stream_return_module \ + stream/ngx_stream_set_module \ stream/ngx_stream_split_clients_module \ stream/ngx_stream_ssl_module \ stream/ngx_stream_ssl_preread_module \ diff --git a/xml/en/docs/index.xml b/xml/en/docs/index.xml --- a/xml/en/docs/index.xml +++ b/xml/en/docs/index.xml @@ -8,7 +8,7 @@
@@ -597,6 +597,11 @@ ngx_stream_return_module + +ngx_stream_set_module + + + ngx_stream_split_clients_module diff --git a/xml/en/docs/stream/ngx_stream_set_module.xml b/xml/en/docs/stream/ngx_stream_set_module.xml new file mode 100644 --- /dev/null +++ b/xml/en/docs/stream/ngx_stream_set_module.xml @@ -0,0 +1,54 @@ + + + + + + + + +
+ + +The ngx_stream_set_module module (1.19.3) allows +setting a value for a variable. + + +
+ + +
+ + + +server { + listen 12345; + set $true 1; +} + + + +
+ + +
+ + +$variable value + +server + + +Sets a value for the specified variable. +The value can contain text, variables, and their combination. + + + + +
+ +
diff --git a/xml/en/docs/stream/stream_processing.xml b/xml/en/docs/stream/stream_processing.xml --- a/xml/en/docs/stream/stream_processing.xml +++ b/xml/en/docs/stream/stream_processing.xml @@ -7,7 +7,7 @@
+ rev="3">
@@ -31,8 +31,11 @@ module is invoked at this phase. Preliminary check for access. -The ngx_stream_limit_conn_module -module is invoked at this phase. +The +ngx_stream_limit_conn_module +and +ngx_stream_set_module +modules are invoked at this phase. diff --git a/xml/ru/GNUmakefile b/xml/ru/GNUmakefile --- a/xml/ru/GNUmakefile +++ b/xml/ru/GNUmakefile @@ -99,6 +99,7 @@ REFS = \ stream/ngx_stream_proxy_module \ stream/ngx_stream_realip_module \ stream/ngx_stream_return_module \ + stream/ngx_stream_set_module \ stream/ngx_stream_split_clients_module \ stream/ngx_stream_ssl_module \ stream/ngx_stream_ssl_preread_module \ diff --git a/xml/ru/docs/index.xml b/xml/ru/docs/index.xml --- a/xml/ru/docs/index.xml +++ b/xml/ru/docs/index.xml @@ -8,7 +8,7 @@
@@ -602,6 +602,11 @@ ngx_stream_return_module + +ngx_stream_set_module + + + ngx_stream_split_clients_module diff --git a/xml/ru/docs/stream/ngx_stream_set_module.xml b/xml/ru/docs/stream/ngx_stream_set_module.xml new file mode 100644 --- /dev/null +++ b/xml/ru/docs/stream/ngx_stream_set_module.xml @@ -0,0 +1,54 @@ + + + + + + + + +
+ + +Модуль ngx_stream_set_module (1.19.3) позволяет +устанавливать значение переменной. + + +
+ + +
+ + + +server { + listen 12345; + set $true 1; +} + + + +
+ + +
+ + +$переменная значение + +server + + +Устанавливает значение указанной переменной. +В качестве значения можно использовать текст, переменные и их комбинации. + + + + +
+ +
diff --git a/xml/ru/docs/stream/stream_processing.xml b/xml/ru/docs/stream/stream_processing.xml --- a/xml/ru/docs/stream/stream_processing.xml +++ b/xml/ru/docs/stream/stream_processing.xml @@ -7,7 +7,7 @@
+ rev="3">
@@ -31,8 +31,10 @@ Предварительная проверка доступа. -В этой фазе выполняется модуль -ngx_stream_limit_conn_module. +В этой фазе выполняются модули +ngx_stream_limit_conn_module +и +ngx_stream_set_module.