Mercurial > hg > nginx-site
comparison xml/ru/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="Модуль ngx_stream_js_module" | 9 <module name="Модуль ngx_stream_js_module" |
10 link="/ru/docs/stream/ngx_stream_js_module.html" | 10 link="/ru/docs/stream/ngx_stream_js_module.html" |
11 lang="ru" | 11 lang="ru" |
12 rev="4"> | 12 rev="5"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 Модуль <literal>ngx_stream_js_module</literal> позволяет задавать | 17 Модуль <literal>ngx_stream_js_module</literal> позволяет задавать |
199 | 199 |
200 <directive name="js_include"> | 200 <directive name="js_include"> |
201 <syntax><value>файл</value></syntax> | 201 <syntax><value>файл</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 Задаёт файл, который позволяет | 206 Задаёт файл, который позволяет |
208 задавать обработчики server и переменных на nginScript. | 207 задавать обработчики server и переменных на nginScript. |
209 </para> | 208 </para> |