diff xml/en/docs/http/ngx_http_auth_jwt_module.xml @ 2835:b64410025027

Updated docs for the upcoming NGINX Plus release.
author Yaroslav Zhuravlev <yar@nginx.com>
date Sun, 13 Feb 2022 17:17:07 +0000
parents 4add6ae1296f
children 8bd6f772005f
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_auth_jwt_module.xml
+++ b/xml/en/docs/http/ngx_http_auth_jwt_module.xml
@@ -229,6 +229,26 @@ and the result was undefined for arrays.
 </directive>
 
 
+<directive name="auth_jwt_key_cache">
+<syntax><value>time</value></syntax>
+<default>0</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.21.4</appeared-in>
+
+<para>
+Enables or disables caching of keys
+obtained from a <link id="auth_jwt_key_file">file</link>
+or from a <link id="auth_jwt_key_request">subrequest</link>,
+and sets caching time for them.
+Caching of keys obtained from variables is not supported.
+By default, caching of keys is disabled.
+</para>
+
+</directive>
+
+
 <directive name="auth_jwt_key_file">
 <syntax><value>file</value></syntax>
 <default/>