comparison xml/en/docs/stream/ngx_stream_js_module.xml @ 1862:621daf1b77d0

Restricted context of js_include directive to http and stream only.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 13 Dec 2016 17:51:59 +0300
parents 36cbfff92c6d
children b93b0689f13b
comparison
equal deleted inserted replaced
1861:2b27ece5c035 1862:621daf1b77d0
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="4"> 12 rev="5">
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
199 199
200 <directive name="js_include"> 200 <directive name="js_include">
201 <syntax><value>file</value></syntax> 201 <syntax><value>file</value></syntax>
202 <default/> 202 <default/>
203 <context>stream</context> 203 <context>stream</context>
204 <context>server</context>
205 204
206 <para> 205 <para>
207 Specifies a file that implements server and variable handlers in nginScript. 206 Specifies a file that implements server and variable handlers in nginScript.
208 </para> 207 </para>
209 208