Mercurial > hg > nginx-site
changeset 1237:e0a1a929a458
Upstream: translated the sticky_cookie_insert directive.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 24 Jun 2014 16:44:56 +0400 |
parents | def99e640654 |
children | 763db729e6a4 |
files | xml/ru/docs/http/ngx_http_upstream_module.xml |
diffstat | 1 files changed, 23 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/ru/docs/http/ngx_http_upstream_module.xml +++ b/xml/ru/docs/http/ngx_http_upstream_module.xml @@ -615,6 +615,29 @@ upstream backend { </directive> + +<directive name="sticky_cookie_insert"> +<syntax><value>имя</value> +[<literal>expires=</literal><value>время</value>] +[<literal>domain=</literal><value>домен</value>] +[<literal>path=</literal><value>путь</value>]</syntax> +<default/> +<context>upstream</context> + +<para> +Эта директива устарела начиная с версии 1.5.7. +Вместо неё следует использовать аналогичную директиву +<link id="sticky"/> с изменённым синтаксисом: +<note> +<literal>sticky cookie</literal> <value>имя</value> +[<literal>expires=</literal><value>время</value>] +[<literal>domain=</literal><value>домен</value>] +[<literal>path=</literal><value>путь</value>]; +</note> +</para> + +</directive> + </section>