comparison xml/en/docs/njs/install.xml @ 2534:33468af2eaf7

Moved load_module from examples of js modules to Installation.
author Yaroslav Zhuravlev <yar@nginx.com>
date Wed, 22 Apr 2020 16:54:18 +0100
parents 2aad23d07d96
children
comparison
equal deleted inserted replaced
2533:617bc29bd759 2534:33468af2eaf7
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> 7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd">
8 8
9 <article name="Download and install" 9 <article name="Download and install"
10 link="/en/docs/njs/install.html" 10 link="/en/docs/njs/install.html"
11 lang="en" 11 lang="en"
12 rev="2"> 12 rev="3">
13 13
14 <section id="install_package" name="Installing as a Linux package"> 14 <section id="install_package" name="Installing as a Linux package">
15 15
16 <para> 16 <para>
17 For Linux, njs modules 17 For Linux, njs modules
27 <literal>nginx-module-njs-dbg</literal> — debug symbols for the 27 <literal>nginx-module-njs-dbg</literal> — debug symbols for the
28 <literal>nginx-module-njs</literal> package 28 <literal>nginx-module-njs</literal> package
29 </listitem> 29 </listitem>
30 30
31 </list> 31 </list>
32 </para>
33
34 <para>
35 After package installation, njs dynamic modules need to be loaded with the
36 <link doc="../ngx_core_module.xml" id="load_module"><literal>load_module</literal></link>
37 directive:
38 <example>
39 load_module modules/ngx_http_js_module.so;
40 </example>
41 or
42 <example>
43 load_module modules/ngx_stream_js_module.so;
44 </example>
32 </para> 45 </para>
33 46
34 </section> 47 </section>
35 48
36 49