comparison xml/en/docs/http/ngx_http_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 0227aa9b87de
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_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="4"> 12 rev="5">
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
130 130
131 <directive name="js_include"> 131 <directive name="js_include">
132 <syntax><value>file</value></syntax> 132 <syntax><value>file</value></syntax>
133 <default/> 133 <default/>
134 <context>http</context> 134 <context>http</context>
135 <context>server</context>
136 <context>location</context>
137 135
138 <para> 136 <para>
139 Specifies a file that implements location and variable handlers in nginScript. 137 Specifies a file that implements location and variable handlers in nginScript.
140 </para> 138 </para>
141 139