Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_upstream_module.xml @ 962:f3754c623e6b
Minor editing of the stiky_cookie_insert directive.
author | Egor Nikitin <yegor.nikitin@gmail.com> |
---|---|
date | Mon, 12 Aug 2013 09:51:20 +0400 |
parents | 48ab154edf10 |
children | 95c3c3bbf1ce |
comparison
equal
deleted
inserted
replaced
961:743caf552c2d | 962:f3754c623e6b |
---|---|
696 [<literal>path=</literal><value>path</value>]</syntax> | 696 [<literal>path=</literal><value>path</value>]</syntax> |
697 <default/> | 697 <default/> |
698 <context>upstream</context> | 698 <context>upstream</context> |
699 | 699 |
700 <para> | 700 <para> |
701 Enables session affinity that causes requests from the same client to be | 701 Enables session affinity, which causes requests from the same client to be |
702 passed to the same server in a group of servers. | 702 passed to the same server in a group of servers. |
703 Example: | 703 Example: |
704 <example> | 704 <example> |
705 upstream backend { | 705 upstream backend { |
706 server backend1.example.com; | 706 server backend1.example.com; |
718 If a request cannot be processed by the bound server, the new server | 718 If a request cannot be processed by the bound server, the new server |
719 is selected as if the client was not yet bound. | 719 is selected as if the client was not yet bound. |
720 </para> | 720 </para> |
721 | 721 |
722 <para> | 722 <para> |
723 Information about the bound server is kept in HTTP cookie. | 723 Information about the bound server is kept in an HTTP cookie. |
724 The first parameter sets the name of the cookie to be inserted or inspected. | 724 The first parameter sets the name of the cookie to be inserted or inspected. |
725 Additional parameters may be as follows: | 725 Additional parameters may be as follows: |
726 <list type="tag"> | 726 <list type="tag"> |
727 | 727 |
728 <tag-name><literal>expires</literal></tag-name> | 728 <tag-name><literal>expires</literal></tag-name> |