comparison xml/en/docs/http/ngx_http_js_module.xml @ 2352:1101e24c6d14

Documented the js_path directive.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 26 Mar 2019 17:20:20 +0300
parents 32ba43abf9cd
children 407c5bd5bffc
comparison
equal deleted inserted replaced
2351:3ef39edf4836 2352:1101e24c6d14
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
8 8
9 <module name="Module ngx_http_js_module" 9 <module name="Module ngx_http_js_module"
10 link="/en/docs/http/ngx_http_js_module.html" 10 link="/en/docs/http/ngx_http_js_module.html"
11 lang="en" 11 lang="en"
12 rev="18"> 12 rev="19">
13 13
14 <section id="summary"> 14 <section id="summary">
15 15
16 <para> 16 <para>
17 The <literal>ngx_http_js_module</literal> module is used to implement 17 The <literal>ngx_http_js_module</literal> module is used to implement
141 </para> 141 </para>
142 142
143 </directive> 143 </directive>
144 144
145 145
146 <directive name="js_path">
147 <syntax>
148 <value>path</value></syntax>
149 <default/>
150 <context>http</context>
151 <appeared-in>0.3.0</appeared-in>
152
153 <para>
154 Sets an additional path for njs modules.
155 </para>
156
157 </directive>
158
159
146 <directive name="js_set"> 160 <directive name="js_set">
147 <syntax> 161 <syntax>
148 <value>$variable</value> <value>function</value></syntax> 162 <value>$variable</value> <value>function</value></syntax>
149 <default/> 163 <default/>
150 <context>http</context> 164 <context>http</context>