Mercurial > hg > nginx-site
comparison xml/en/docs/stream/ngx_stream_upstream_module.xml @ 1809:2245f2827e2f
Added examples of Linux and FreeBSD paths to "state" directive.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Fri, 07 Oct 2016 20:31:57 +0300 |
parents | 592f9fa804f6 |
children | 0160e8784417 |
comparison
equal
deleted
inserted
replaced
1808:4b6d7686e00f | 1809:2245f2827e2f |
---|---|
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
8 | 8 |
9 <module name="Module ngx_stream_upstream_module" | 9 <module name="Module ngx_stream_upstream_module" |
10 link="/en/docs/stream/ngx_stream_upstream_module.html" | 10 link="/en/docs/stream/ngx_stream_upstream_module.html" |
11 lang="en" | 11 lang="en" |
12 rev="19"> | 12 rev="20"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 The <literal>ngx_stream_upstream_module</literal> module (1.9.0) | 17 The <literal>ngx_stream_upstream_module</literal> module (1.9.0) |
351 <appeared-in>1.9.7</appeared-in> | 351 <appeared-in>1.9.7</appeared-in> |
352 | 352 |
353 <para> | 353 <para> |
354 Specifies a <value>file</value> that keeps the state | 354 Specifies a <value>file</value> that keeps the state |
355 of the dynamically configurable group. | 355 of the dynamically configurable group. |
356 </para> | |
357 | |
358 <para> | |
359 Examples: | |
360 <example> | |
361 state /var/lib/nginx/state/servers.conf; # path for Linux | |
362 state /var/db/nginx/state/servers.conf; # path for FreeBSD | |
363 </example> | |
364 </para> | |
365 | |
366 <para> | |
356 The state is currently limited to the list of servers with their parameters. | 367 The state is currently limited to the list of servers with their parameters. |
357 The file is read when parsing the configuration and is updated each time | 368 The file is read when parsing the configuration and is updated each time |
358 the upstream configuration is | 369 the upstream configuration is |
359 <link doc="ngx_http_upstream_conf_module.xml" id="upstream_conf">changed</link>. | 370 <link doc="ngx_http_upstream_conf_module.xml" id="upstream_conf">changed</link>. |
360 Changing the file content directly should be avoided. | 371 Changing the file content directly should be avoided. |