Mercurial > hg > nginx-site
comparison xml/ru/docs/http/ngx_http_userid_module.xml @ 2597:c9545c331582
Added the userid_flags directive.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 29 Sep 2020 15:52:05 +0100 |
parents | 726e8f47763c |
children |
comparison
equal
deleted
inserted
replaced
2596:27c757648399 | 2597:c9545c331582 |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Модуль ngx_http_userid_module" | 10 <module name="Модуль ngx_http_userid_module" |
11 link="/ru/docs/http/ngx_http_userid_module.html" | 11 link="/ru/docs/http/ngx_http_userid_module.html" |
12 lang="ru" | 12 lang="ru" |
13 rev="4"> | 13 rev="5"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 Модуль <literal>ngx_http_userid_module</literal> выдаёт куки | 18 Модуль <literal>ngx_http_userid_module</literal> выдаёт куки |
122 </para> | 122 </para> |
123 | 123 |
124 </directive> | 124 </directive> |
125 | 125 |
126 | 126 |
127 <directive name="userid_flags"> | |
128 <syntax> | |
129 <literal>off</literal> | | |
130 <value>флаг</value> ...</syntax> | |
131 <default>off</default> | |
132 <context>http</context> | |
133 <context>server</context> | |
134 <context>location</context> | |
135 <appeared-in>1.19.3</appeared-in> | |
136 | |
137 <para> | |
138 Если параметр не <literal>off</literal>, | |
139 задаёт один или несколько дополнительных флагов для куки: | |
140 <literal>secure</literal>, | |
141 <literal>httponly</literal>, | |
142 <literal>samesite=strict</literal>, | |
143 <literal>samesite=lax</literal>, | |
144 <literal>samesite=none</literal>. | |
145 </para> | |
146 | |
147 </directive> | |
148 | |
149 | |
127 <directive name="userid_mark"> | 150 <directive name="userid_mark"> |
128 <syntax> | 151 <syntax> |
129 <value>буква</value> | <value>цифра</value> | | 152 <value>буква</value> | <value>цифра</value> | |
130 <literal>=</literal> | | 153 <literal>=</literal> | |
131 <literal>off</literal></syntax> | 154 <literal>off</literal></syntax> |