Mercurial > hg > nginx-site
comparison xml/en/docs/njs_about.xml @ 2026:af51ec6b5489
Fixed typos in njs configure string examples.
Reported by PGNet Dev.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 14 Aug 2017 13:43:08 +0300 |
parents | d1a1253a570e |
children | 838c503fd2f7 |
comparison
equal
deleted
inserted
replaced
2025:1fe9f481d8ce | 2026:af51ec6b5489 |
---|---|
7 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> | 7 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> |
8 | 8 |
9 <article name="About nginScript" | 9 <article name="About nginScript" |
10 link="/en/docs/njs_about.html" | 10 link="/en/docs/njs_about.html" |
11 lang="en" | 11 lang="en" |
12 rev="10"> | 12 rev="11"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 nginScript is a subset of the JavaScript language that allows | 17 nginScript is a subset of the JavaScript language that allows |
266 (requires <link url="https://www.mercurial-scm.org">Mercurial</link> client): | 266 (requires <link url="https://www.mercurial-scm.org">Mercurial</link> client): |
267 <example> | 267 <example> |
268 hg clone http://hg.nginx.org/njs | 268 hg clone http://hg.nginx.org/njs |
269 </example> | 269 </example> |
270 Then the modules should be compiled using the | 270 Then the modules should be compiled using the |
271 <literal>--add_module</literal> configuration parameter: | 271 <literal>--add-module</literal> configuration parameter: |
272 <example> | 272 <example> |
273 ./configure --add-module=<value>path-to-njs</value>/nginx | 273 ./configure --add-module=<value>path-to-njs</value>/nginx |
274 </example> | 274 </example> |
275 The modules can also be built as | 275 The modules can also be built as |
276 <link doc="ngx_core_module.xml" id="load_module">dynamic</link>: | 276 <link doc="ngx_core_module.xml" id="load_module">dynamic</link>: |
277 <example> | 277 <example> |
278 ./configure --add-dynamic_module=<value>path-to-njs</value>/nginx | 278 ./configure --add-dynamic-module=<value>path-to-njs</value>/nginx |
279 </example> | 279 </example> |
280 </para> | 280 </para> |
281 | 281 |
282 </section> | 282 </section> |
283 | 283 |