Mercurial > hg > nginx-site
annotate xml/en/docs/http/ngx_http_userid_module.xml @ 486:1bf933a9df8b
- Mentioned that --with-pcre-jit has appeared in 1.1.12, and added
a link to the "pcre_jit" directive.
- Brought the range of supported PCRE library versions up to date.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 11 Apr 2012 03:26:09 +0000 |
parents | 43f379b12b76 |
children | be54c443235a |
rev | line source |
---|---|
360
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
2 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
3 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
4 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
5 <module name="Module ngx_http_userid_module" |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
6 link="/en/docs/http/ngx_http_userid_module.html" |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
7 lang="en"> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
8 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
9 <section id="summary"> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
10 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
11 <para> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
12 The <literal>ngx_http_userid_module</literal> module sets cookies |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
13 suitable for client identification. |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
14 Received and set cookies can be logged using the embedded variables |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
15 <var>$uid_got</var> and <var>$uid_set</var>. |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
16 This module is compatible with the |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
17 <link url="http://www.lexa.ru/programs/mod-uid-eng.html">mod_uid</link> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
18 module for Apache. |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
19 </para> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
20 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
21 </section> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
22 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
23 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
24 <section id="example" name="Example Configuration"> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
25 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
26 <para> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
27 <example> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
28 userid on; |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
29 userid_name uid; |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
30 userid_domain example.com; |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
31 userid_path /; |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
32 userid_expires 365d; |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
33 userid_p3p 'policyref="/w3c/p3p.xml", CP="CUR ADM OUR NOR STA NID"'; |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
34 </example> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
35 </para> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
36 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
37 </section> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
38 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
39 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
40 <section id="directives" name="Directives"> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
41 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
42 <directive name="userid"> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
43 <syntax> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
44 <literal>on</literal> | |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
45 <literal>v1</literal> | |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
46 <literal>log</literal> | |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
47 <literal>off</literal></syntax> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
48 <default>off</default> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
49 <context>http</context> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
50 <context>server</context> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
51 <context>location</context> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
52 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
53 <para> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
54 Allows or prohibits to set cookies and log the received cookies: |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
55 <list type="tag"> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
56 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
57 <tag-name><literal>on</literal></tag-name> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
58 <tag-desc> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
59 allows to set version 2 cookies |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
60 and log the received cookies; |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
61 </tag-desc> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
62 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
63 <tag-name><literal>v1</literal></tag-name> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
64 <tag-desc> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
65 allows to set version 1 cookies |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
66 and log the received cookies; |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
67 </tag-desc> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
68 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
69 <tag-name><literal>log</literal></tag-name> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
70 <tag-desc> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
71 prohibits to set cookies |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
72 but allows to log the received cookies; |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
73 </tag-desc> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
74 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
75 <tag-name><literal>off</literal></tag-name> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
76 <tag-desc> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
77 prohibits to set cookies and log the received cookies. |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
78 </tag-desc> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
79 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
80 </list> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
81 </para> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
82 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
83 </directive> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
84 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
85 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
86 <directive name="userid_domain"> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
87 <syntax><value>name</value> | <literal>none</literal></syntax> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
88 <default>none</default> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
89 <context>http</context> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
90 <context>server</context> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
91 <context>location</context> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
92 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
93 <para> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
94 Defines a domain for which the cookie is set. |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
95 The parameter <literal>none</literal> disables setting a domain for a cookie. |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
96 </para> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
97 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
98 </directive> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
99 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
100 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
101 <directive name="userid_expires"> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
102 <syntax><value>time</value> | <literal>max</literal></syntax> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
103 <default/> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
104 <context>http</context> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
105 <context>server</context> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
106 <context>location</context> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
107 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
108 <para> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
109 Sets a time during which a browser should keep the cookie. |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
110 The parameter <literal>max</literal> sets the time to |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
111 “<literal>31 Dec 2037 23:55:55 GMT</literal>”. |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
112 This is the maximum time understood by old browsers. |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
113 </para> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
114 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
115 </directive> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
116 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
117 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
118 <directive name="userid_name"> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
119 <syntax><value>name</value></syntax> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
120 <default>uid</default> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
121 <context>http</context> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
122 <context>server</context> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
123 <context>location</context> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
124 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
125 <para> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
126 Sets a cookie name. |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
127 </para> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
128 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
129 </directive> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
130 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
131 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
132 <directive name="userid_p3p"> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
133 <syntax><value>string</value></syntax> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
134 <default/> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
135 <context>http</context> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
136 <context>server</context> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
137 <context>location</context> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
138 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
139 <para> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
140 Sets a value for the <header>P3P</header> header field that will be |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
141 sent along with a cookie. |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
142 </para> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
143 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
144 </directive> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
145 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
146 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
147 <directive name="userid_path"> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
148 <syntax><value>path</value></syntax> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
149 <default>/</default> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
150 <context>http</context> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
151 <context>server</context> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
152 <context>location</context> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
153 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
154 <para> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
155 Defines a path for which the cookie is set. |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
156 </para> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
157 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
158 </directive> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
159 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
160 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
161 <directive name="userid_service"> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
162 <syntax><value>number</value></syntax> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
163 <default>IP address of the server</default> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
164 <context>http</context> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
165 <context>server</context> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
166 <context>location</context> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
167 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
168 <para> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
169 Identifies the service that set a cookie. |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
170 For version 1 cookies the default value is zero. |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
171 For version 2 cookies the default value is an IP address of the server. |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
172 </para> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
173 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
174 </directive> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
175 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
176 </section> |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
177 |
43f379b12b76
English translation of ngx_http_userid_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
178 </module> |