# HG changeset patch # User Yaroslav Zhuravlev # Date 1475861517 -10800 # Node ID 2245f2827e2fc800f46bcb8af1363a304c7f6714 # Parent 4b6d7686e00f21d63088d7637671997c9cb9e039 Added examples of Linux and FreeBSD paths to "state" directive. diff -r 4b6d7686e00f -r 2245f2827e2f xml/en/docs/http/ngx_http_upstream_module.xml --- a/xml/en/docs/http/ngx_http_upstream_module.xml Sat Sep 27 20:00:31 2014 +0400 +++ b/xml/en/docs/http/ngx_http_upstream_module.xml Fri Oct 07 20:31:57 2016 +0300 @@ -10,7 +10,7 @@ + rev="52">
@@ -378,6 +378,17 @@ Specifies a file that keeps the state of the dynamically configurable group. + + + +Examples: + +state /var/lib/nginx/state/servers.conf; # path for Linux +state /var/db/nginx/state/servers.conf; # path for FreeBSD + + + + 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 diff -r 4b6d7686e00f -r 2245f2827e2f xml/en/docs/stream/ngx_stream_upstream_module.xml --- a/xml/en/docs/stream/ngx_stream_upstream_module.xml Sat Sep 27 20:00:31 2014 +0400 +++ b/xml/en/docs/stream/ngx_stream_upstream_module.xml Fri Oct 07 20:31:57 2016 +0300 @@ -9,7 +9,7 @@ + rev="20">
@@ -353,6 +353,17 @@ Specifies a file that keeps the state of the dynamically configurable group. + + + +Examples: + +state /var/lib/nginx/state/servers.conf; # path for Linux +state /var/db/nginx/state/servers.conf; # path for FreeBSD + + + + 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 diff -r 4b6d7686e00f -r 2245f2827e2f xml/ru/docs/http/ngx_http_upstream_module.xml --- a/xml/ru/docs/http/ngx_http_upstream_module.xml Sat Sep 27 20:00:31 2014 +0400 +++ b/xml/ru/docs/http/ngx_http_upstream_module.xml Fri Oct 07 20:31:57 2016 +0300 @@ -10,7 +10,7 @@ + rev="52">
@@ -381,6 +381,17 @@ Задаёт файл, в котором хранится состояние динамически настраиваемой группы. + + + +Примеры: + +state /var/lib/nginx/state/servers.conf; # путь для Linux +state /var/db/nginx/state/servers.conf; # путь для FreeBSD + + + + В данный момент состояние ограничено списком серверов с их параметрами. Файл читается при парсинге конфигурации и обновляется каждый раз при изменении diff -r 4b6d7686e00f -r 2245f2827e2f xml/ru/docs/stream/ngx_stream_upstream_module.xml --- a/xml/ru/docs/stream/ngx_stream_upstream_module.xml Sat Sep 27 20:00:31 2014 +0400 +++ b/xml/ru/docs/stream/ngx_stream_upstream_module.xml Fri Oct 07 20:31:57 2016 +0300 @@ -9,7 +9,7 @@ + rev="20">
@@ -354,6 +354,17 @@ Задаёт файл, в котором хранится состояние динамически настраиваемой группы. + + + +Примеры: + +state /var/lib/nginx/state/servers.conf; # путь для Linux +state /var/db/nginx/state/servers.conf; # путь для FreeBSD + + + + В данный момент состояние ограничено списком серверов с их параметрами. Файл читается при парсинге конфигурации и обновляется каждый раз при изменении