changeset 2716:f82f16e327f2

Added info about js_var to r.internalRedirect in njs.
author Yaroslav Zhuravlev <yar@nginx.com>
date Fri, 30 Apr 2021 14:16:06 +0100
parents a9c2fe68da66
children ff8eeb6ac833
files xml/en/docs/njs/reference.xml
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/njs/reference.xml	Fri Apr 30 14:05:29 2021 +0300
+++ b/xml/en/docs/njs/reference.xml	Fri Apr 30 14:16:06 2021 +0100
@@ -9,7 +9,7 @@
 <article name="Reference"
         link="/en/docs/njs/reference.html"
         lang="en"
-        rev="73">
+        rev="74">
 
 <section id="summary">
 
@@ -180,6 +180,11 @@
 the VM in the original location is stopped.
 Values of nginx variables are kept
 and can be used to pass information to the target location.
+Since <link doc="changes.xml" id="njs0.5.3">0.5.3</link>,
+the variable declared with the <literal>js_var</literal> directive for
+<link doc="../http/ngx_http_js_module.xml" id="js_var">http</link> or
+<link doc="../stream/ngx_stream_js_module.xml" id="js_var">stream</link>
+can be used.
 </note>
 </para>