Mercurial > hg > nginx-site
diff 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 |
line wrap: on
line diff
--- a/xml/ru/docs/http/ngx_http_userid_module.xml +++ b/xml/ru/docs/http/ngx_http_userid_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_userid_module" link="/ru/docs/http/ngx_http_userid_module.html" lang="ru" - rev="4"> + rev="5"> <section id="summary"> @@ -124,6 +124,29 @@ 31 декабря 2037 года 23:55:55 GMT. </directive> +<directive name="userid_flags"> +<syntax> + <literal>off</literal> | + <value>флаг</value> ...</syntax> +<default>off</default> +<context>http</context> +<context>server</context> +<context>location</context> +<appeared-in>1.19.3</appeared-in> + +<para> +Если параметр не <literal>off</literal>, +задаёт один или несколько дополнительных флагов для куки: +<literal>secure</literal>, +<literal>httponly</literal>, +<literal>samesite=strict</literal>, +<literal>samesite=lax</literal>, +<literal>samesite=none</literal>. +</para> + +</directive> + + <directive name="userid_mark"> <syntax> <value>буква</value> | <value>цифра</value> |