Mercurial > hg > nginx-site
diff xml/en/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 | 32ba43abf9cd |
children | 407c5bd5bffc |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_js_module.xml Tue Mar 26 17:16:50 2019 +0300 +++ b/xml/en/docs/http/ngx_http_js_module.xml Tue Mar 26 17:20:20 2019 +0300 @@ -9,7 +9,7 @@ <module name="Module ngx_http_js_module" link="/en/docs/http/ngx_http_js_module.html" lang="en" - rev="18"> + rev="19"> <section id="summary"> @@ -143,6 +143,20 @@ </directive> +<directive name="js_path"> +<syntax> +<value>path</value></syntax> +<default/> +<context>http</context> +<appeared-in>0.3.0</appeared-in> + +<para> +Sets an additional path for njs modules. +</para> + +</directive> + + <directive name="js_set"> <syntax> <value>$variable</value> <value>function</value></syntax>