comparison 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
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="Module ngx_http_userid_module" 10 <module name="Module ngx_http_userid_module"
11 link="/en/docs/http/ngx_http_userid_module.html" 11 link="/en/docs/http/ngx_http_userid_module.html"
12 lang="en" 12 lang="en"
13 rev="4"> 13 rev="5">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 The <literal>ngx_http_userid_module</literal> module sets cookies 18 The <literal>ngx_http_userid_module</literal> module sets cookies
123 </para> 123 </para>
124 124
125 </directive> 125 </directive>
126 126
127 127
128 <directive name="userid_flags">
129 <syntax>
130 <literal>off</literal> |
131 <value>flag</value> ...</syntax>
132 <default>off</default>
133 <context>http</context>
134 <context>server</context>
135 <context>location</context>
136 <appeared-in>1.19.3</appeared-in>
137
138 <para>
139 If the parameter is not <literal>off</literal>,
140 defines one or more additional flags for the cookie:
141 <literal>secure</literal>,
142 <literal>httponly</literal>,
143 <literal>samesite=strict</literal>,
144 <literal>samesite=lax</literal>,
145 <literal>samesite=none</literal>.
146 </para>
147
148 </directive>
149
150
128 <directive name="userid_mark"> 151 <directive name="userid_mark">
129 <syntax> 152 <syntax>
130 <value>letter</value> | <value>digit</value> | 153 <value>letter</value> | <value>digit</value> |
131 <literal>=</literal> | 154 <literal>=</literal> |
132 <literal>off</literal></syntax> 155 <literal>off</literal></syntax>