Mercurial > hg > nginx-site
comparison xml/en/docs/stream/ngx_stream_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 | 9d502d4305ac |
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_stream_js_module" | 9 <module name="Module ngx_stream_js_module" |
10 link="/en/docs/stream/ngx_stream_js_module.html" | 10 link="/en/docs/stream/ngx_stream_js_module.html" |
11 lang="en" | 11 lang="en" |
12 rev="16"> | 12 rev="17"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 The <literal>ngx_stream_js_module</literal> module is used to implement | 17 The <literal>ngx_stream_js_module</literal> module is used to implement |
166 </para> | 166 </para> |
167 | 167 |
168 </directive> | 168 </directive> |
169 | 169 |
170 | 170 |
171 <directive name="js_path"> | |
172 <syntax> | |
173 <value>path</value></syntax> | |
174 <default/> | |
175 <context>http</context> | |
176 <appeared-in>0.3.0</appeared-in> | |
177 | |
178 <para> | |
179 Sets an additional path for njs modules. | |
180 </para> | |
181 | |
182 </directive> | |
183 | |
184 | |
171 <directive name="js_preread"> | 185 <directive name="js_preread"> |
172 <syntax><value>function</value></syntax> | 186 <syntax><value>function</value></syntax> |
173 <default/> | 187 <default/> |
174 <context>stream</context> | 188 <context>stream</context> |
175 <context>server</context> | 189 <context>server</context> |