Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_js_module.xml @ 2188:523dc4cc8745
Updated installation procedure in njs modules.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 19 Jun 2018 20:43:33 +0300 |
parents | ed905ab118c7 |
children | dfc49994218c |
comparison
equal
deleted
inserted
replaced
2187:ed905ab118c7 | 2188:523dc4cc8745 |
---|---|
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="12"> | 12 rev="13"> |
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 |
19 in <link doc="../njs_about.xml">njs</link> — | 19 in <link doc="../njs_about.xml">njs</link> — |
20 a subset of the JavaScript language. | 20 a subset of the JavaScript language. |
21 </para> | 21 </para> |
22 | 22 |
23 <para> | 23 <para> |
24 This module is not built by default, it should be compiled with | 24 This module is not built by default. |
25 the njs module using the | 25 Download and install instructions are available |
26 <literal>--add-module</literal> configuration parameter: | 26 <link doc="../njs_about.xml" id="install">here</link>. |
27 <example> | |
28 ./configure --add-module=<value>path-to-njs</value>/nginx | |
29 </example> | |
30 The <link url="http://hg.nginx.org/njs">repository</link> | |
31 with the njs module can be cloned with the following command | |
32 (requires <link url="https://www.mercurial-scm.org">Mercurial</link> client): | |
33 <example> | |
34 hg clone http://hg.nginx.org/njs | |
35 </example> | |
36 This module can also be built as | |
37 <link doc="../ngx_core_module.xml" id="load_module">dynamic</link>: | |
38 <example> | |
39 ./configure --add-dynamic-module=<value>path-to-njs</value>/nginx | |
40 </example> | |
41 </para> | 27 </para> |
42 | 28 |
43 </section> | 29 </section> |
44 | 30 |
45 | 31 |