diff xml/en/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/en/docs/http/ngx_http_userid_module.xml	Tue Sep 29 17:40:51 2020 +0300
+++ b/xml/en/docs/http/ngx_http_userid_module.xml	Tue Sep 29 15:52:05 2020 +0100
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_userid_module"
         link="/en/docs/http/ngx_http_userid_module.html"
         lang="en"
-        rev="4">
+        rev="5">
 
 <section id="summary">
 
@@ -125,6 +125,29 @@
 </directive>
 
 
+<directive name="userid_flags">
+<syntax>
+    <literal>off</literal> |
+    <value>flag</value> ...</syntax>
+<default>off</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.19.3</appeared-in>
+
+<para>
+If the parameter is not <literal>off</literal>,
+defines one or more additional flags for the cookie:
+<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>letter</value> | <value>digit</value> |