Mercurial > hg > nginx-site
view xml/en/docs/stream/ngx_stream_set_module.xml @ 2943:0f468b4e01d6
njs-0.7.11.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Thu, 09 Mar 2023 22:20:24 +0000 |
parents | 2fd28cd4f2f8 |
children |
line wrap: on
line source
<?xml version="1.0"?> <!-- Copyright (C) Nginx, Inc. --> <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> <module name="Module ngx_stream_set_module" link="/en/docs/stream/ngx_stream_set_module.html" lang="en" rev="1"> <section id="summary"> <para> The <literal>ngx_stream_set_module</literal> module (1.19.3) allows setting a value for a variable. </para> </section> <section id="example" name="Example Configuration"> <para> <example> server { listen 12345; set $true 1; } </example> </para> </section> <section id="directives" name="Directives"> <directive name="set"> <syntax><value>$variable</value> <value>value</value></syntax> <default/> <context>server</context> <para> Sets a <value>value</value> for the specified <value>variable</value>. The <value>value</value> can contain text, variables, and their combination. </para> </directive> </section> </module>