Mercurial > hg > nginx-site
diff 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 |
line wrap: on
line diff
--- a/xml/ru/docs/http/ngx_http_js_module.xml +++ b/xml/ru/docs/http/ngx_http_js_module.xml @@ -9,7 +9,7 @@ <module name="Модуль ngx_http_js_module" link="/ru/docs/http/ngx_http_js_module.html" lang="ru" - rev="18"> + rev="19"> <section id="summary"> @@ -144,6 +144,20 @@ function hello(r) { </directive> +<directive name="js_path"> +<syntax> +<value>путь</value></syntax> +<default/> +<context>http</context> +<appeared-in>0.3.0</appeared-in> + +<para> +Задаёт дополнительный путь для модулей njs. +</para> + +</directive> + + <directive name="js_set"> <syntax> <value>$переменная</value> <value>функция</value></syntax>