Mercurial > hg > nginx-site
changeset 2694:1f2bd0d9a06c
Documented variables support for auth_jwt_key_request.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Mon, 29 Mar 2021 19:45:57 +0100 |
parents | 3cbd6e440581 |
children | 5d5d914c4eed |
files | xml/en/docs/http/ngx_http_auth_jwt_module.xml xml/ru/docs/http/ngx_http_auth_jwt_module.xml |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_auth_jwt_module.xml Mon Mar 29 19:40:27 2021 +0100 +++ b/xml/en/docs/http/ngx_http_auth_jwt_module.xml Mon Mar 29 19:45:57 2021 +0100 @@ -9,7 +9,7 @@ <module name="Module ngx_http_auth_jwt_module" link="/en/docs/http/ngx_http_auth_jwt_module.html" lang="en" - rev="10"> + rev="11"> <section id="summary"> @@ -204,6 +204,7 @@ <link url="https://tools.ietf.org/html/rfc7517#section-5">JSON Web Key Set</link> file from a subrequest for validating JWT signature and sets the URI where the subrequest will be sent to. +Parameter value can contain variables. To avoid validation overhead, it is recommended to cache the key file: <example>
--- a/xml/ru/docs/http/ngx_http_auth_jwt_module.xml Mon Mar 29 19:40:27 2021 +0100 +++ b/xml/ru/docs/http/ngx_http_auth_jwt_module.xml Mon Mar 29 19:45:57 2021 +0100 @@ -9,7 +9,7 @@ <module name="Модуль ngx_http_auth_jwt_module" link="/ru/docs/http/ngx_http_auth_jwt_module.html" lang="ru" - rev="10"> + rev="11"> <section id="summary"> @@ -202,6 +202,7 @@ <link url="https://tools.ietf.org/html/rfc7517#section-5">JSON Web Key Set</link> из подзапроса для проверки подписи JWT и задаёт URI, на который будет отправлен подзапрос. +В значении параметра допустимо использование переменных. Для предотвращения дополнительных затрат на проверку файл рекомендутеся кэшировать. <example>