Mercurial > hg > nginx-site
comparison xml/ru/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 | 786e96c52c7a |
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="Модуль ngx_http_js_module" | 9 <module name="Модуль ngx_http_js_module" |
10 link="/ru/docs/http/ngx_http_js_module.html" | 10 link="/ru/docs/http/ngx_http_js_module.html" |
11 lang="ru" | 11 lang="ru" |
12 rev="18"> | 12 rev="19"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 Модуль <literal>ngx_http_js_module</literal> позволяет задавать | 17 Модуль <literal>ngx_http_js_module</literal> позволяет задавать |
142 </para> | 142 </para> |
143 | 143 |
144 </directive> | 144 </directive> |
145 | 145 |
146 | 146 |
147 <directive name="js_path"> | |
148 <syntax> | |
149 <value>путь</value></syntax> | |
150 <default/> | |
151 <context>http</context> | |
152 <appeared-in>0.3.0</appeared-in> | |
153 | |
154 <para> | |
155 Задаёт дополнительный путь для модулей njs. | |
156 </para> | |
157 | |
158 </directive> | |
159 | |
160 | |
147 <directive name="js_set"> | 161 <directive name="js_set"> |
148 <syntax> | 162 <syntax> |
149 <value>$переменная</value> <value>функция</value></syntax> | 163 <value>$переменная</value> <value>функция</value></syntax> |
150 <default/> | 164 <default/> |
151 <context>http</context> | 165 <context>http</context> |