Mercurial > hg > nginx-site
diff 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 |
line wrap: on
line diff
--- a/xml/en/docs/stream/ngx_stream_upstream_module.xml +++ b/xml/en/docs/stream/ngx_stream_upstream_module.xml @@ -9,7 +9,7 @@ <module name="Module ngx_stream_upstream_module" link="/en/docs/stream/ngx_stream_upstream_module.html" lang="en" - rev="19"> + rev="20"> <section id="summary"> @@ -353,6 +353,17 @@ handled by <para> Specifies a <value>file</value> that keeps the state of the dynamically configurable group. +</para> + +<para> +Examples: +<example> +state /var/lib/nginx/state/servers.conf; # path for Linux +state /var/db/nginx/state/servers.conf; # path for FreeBSD +</example> +</para> + +<para> The state is currently limited to the list of servers with their parameters. The file is read when parsing the configuration and is updated each time the upstream configuration is