comparison xml/en/docs/stream/ngx_stream_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 cd4889fdcfa4
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_stream_js_module" 9 <module name="Module ngx_stream_js_module"
10 link="/en/docs/stream/ngx_stream_js_module.html" 10 link="/en/docs/stream/ngx_stream_js_module.html"
11 lang="en" 11 lang="en"
12 rev="11"> 12 rev="12">
13 13
14 <section id="summary"> 14 <section id="summary">
15 15
16 <para> 16 <para>
17 The <literal>ngx_stream_js_module</literal> module is used to implement 17 The <literal>ngx_stream_js_module</literal> module is used to implement
18 handlers in <link doc="../njs_about.xml">njs</link> — 18 handlers in <link doc="../njs_about.xml">njs</link> —
19 a subset of the JavaScript language. 19 a subset of the JavaScript language.
20 </para> 20 </para>
21 21
22 <para> 22 <para>
23 This module is not built by default, it should be compiled with 23 This module is not built by default.
24 the njs module using the 24 Download and install instructions are available
25 <literal>--add-module</literal> configuration parameter: 25 <link doc="../njs_about.xml" id="install">here</link>.
26 <example>
27 ./configure --add-module=<value>path-to-njs</value>/nginx
28 </example>
29 The <link url="http://hg.nginx.org/njs">repository</link>
30 with the njs module can be cloned with the following command
31 (requires <link url="https://www.mercurial-scm.org">Mercurial</link> client):
32 <example>
33 hg clone http://hg.nginx.org/njs
34 </example>
35 This module can also be built as
36 <link doc="../ngx_core_module.xml" id="load_module">dynamic</link>:
37 <example>
38 ./configure --add-dynamic-module=<value>path-to-njs</value>/nginx
39 </example>
40 </para> 26 </para>
41 27
42 </section> 28 </section>
43 29
44 30