diff xml/ru/docs/stream/ngx_stream_set_module.xml @ 2600:2fd28cd4f2f8

Added set module for stream.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 29 Sep 2020 16:10:13 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/ru/docs/stream/ngx_stream_set_module.xml	Tue Sep 29 16:10:13 2020 +0100
@@ -0,0 +1,54 @@
+<?xml version="1.0"?>
+
+<!--
+  Copyright (C) Nginx, Inc.
+  -->
+
+<!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
+
+<module name="Модуль ngx_stream_set_module"
+        link="/ru/docs/stream/ngx_stream_set_module.html"
+        lang="ru"
+        rev="1">
+
+<section id="summary">
+
+<para>
+Модуль <literal>ngx_stream_set_module</literal> (1.19.3) позволяет
+устанавливать значение переменной.
+</para>
+
+</section>
+
+
+<section id="example" name="Пример конфигурации">
+
+<para>
+<example>
+server {
+    listen 12345;
+    set    $true 1;
+}
+</example>
+</para>
+
+</section>
+
+
+<section id="directives" name="Директивы">
+
+<directive name="set">
+<syntax><value>$переменная</value> <value>значение</value></syntax>
+<default/>
+<context>server</context>
+
+<para>
+Устанавливает значение указанной переменной.
+В качестве значения можно использовать текст, переменные и их комбинации.
+</para>
+
+</directive>
+
+</section>
+
+</module>