view xml/en/docs/stream/ngx_stream_set_module.xml @ 2846:fdf1464e1977

Moved banner to the external file to make partial rollout possible. An idea is to have several banners and show them with different probability specified by split directive in the nginx.conf
author Sergey Budnevitch <sb@waeme.net>
date Tue, 10 May 2022 18:07:27 +0400
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>