Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
nginx
GitHub Repository: nginx/nginx.org
Path: blob/main/xml/en/docs/stream/ngx_stream_set_module.xml
1 views
1
<?xml version="1.0"?>
2
3
<!--
4
Copyright (C) Nginx, Inc.
5
-->
6
7
<!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
8
9
<module name="Module ngx_stream_set_module"
10
link="/en/docs/stream/ngx_stream_set_module.html"
11
lang="en"
12
rev="1">
13
14
<section id="summary">
15
16
<para>
17
The <literal>ngx_stream_set_module</literal> module (1.19.3) allows
18
setting a value for a variable.
19
</para>
20
21
</section>
22
23
24
<section id="example" name="Example Configuration">
25
26
<para>
27
<example>
28
server {
29
listen 12345;
30
set $true 1;
31
}
32
</example>
33
</para>
34
35
</section>
36
37
38
<section id="directives" name="Directives">
39
40
<directive name="set">
41
<syntax><value>$variable</value> <value>value</value></syntax>
42
<default/>
43
<context>server</context>
44
45
<para>
46
Sets a <value>value</value> for the specified <value>variable</value>.
47
The <value>value</value> can contain text, variables, and their combination.
48
</para>
49
50
</directive>
51
52
</section>
53
54
</module>
55
56