diff xml/en/docs/njs/reference.xml @ 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 3cbd6e440581
children ff357b676c2e
line wrap: on
line diff
--- a/xml/en/docs/njs/reference.xml
+++ b/xml/en/docs/njs/reference.xml
@@ -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 @@ a new njs VM is started in the target lo
 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>