Path: blob/main/xml/en/docs/stream/ngx_stream_set_module.xml
1 views
<?xml version="1.0"?>12<!--3Copyright (C) Nginx, Inc.4-->56<!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">78<module name="Module ngx_stream_set_module"9link="/en/docs/stream/ngx_stream_set_module.html"10lang="en"11rev="1">1213<section id="summary">1415<para>16The <literal>ngx_stream_set_module</literal> module (1.19.3) allows17setting a value for a variable.18</para>1920</section>212223<section id="example" name="Example Configuration">2425<para>26<example>27server {28listen 12345;29set $true 1;30}31</example>32</para>3334</section>353637<section id="directives" name="Directives">3839<directive name="set">40<syntax><value>$variable</value> <value>value</value></syntax>41<default/>42<context>server</context>4344<para>45Sets a <value>value</value> for the specified <value>variable</value>.46The <value>value</value> can contain text, variables, and their combination.47</para>4849</directive>5051</section>5253</module>545556