Mercurial > hg > nginx-site
comparison xml/en/docs/njs/examples.xml @ 2246:32ba43abf9cd
Renamed njs API, njs Changes.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Mon, 24 Sep 2018 19:24:04 +0300 |
parents | 87a0e2c73a25 |
children | 8cef5ef98336 |
comparison
equal
deleted
inserted
replaced
2245:87a0e2c73a25 | 2246:32ba43abf9cd |
---|---|
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> | 7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> |
8 | 8 |
9 <article name="Examples" | 9 <article name="Examples" |
10 link="/en/docs/njs/examples.html" | 10 link="/en/docs/njs/examples.html" |
11 lang="en" | 11 lang="en" |
12 rev="1"> | 12 rev="2"> |
13 | 13 |
14 <section id="helloword" name="Hello World"> | 14 <section id="helloword" name="Hello World"> |
15 | 15 |
16 <para> | 16 <para> |
17 <path>nginx.conf</path>: | 17 <path>nginx.conf</path>: |
309 <section id="legacy" name="Legacy Examples"> | 309 <section id="legacy" name="Legacy Examples"> |
310 | 310 |
311 <section id="legacy_stream" name="Injecting HTTP header using stream proxy"> | 311 <section id="legacy_stream" name="Injecting HTTP header using stream proxy"> |
312 | 312 |
313 <para> | 313 <para> |
314 Starting from njs <link doc="../njs/njs_changes.xml" id="njs0.2.4">0.2.4</link>, | 314 Starting from njs <link doc="../njs/changes.xml" id="njs0.2.4">0.2.4</link>, |
315 stream configuration | 315 stream configuration |
316 <link doc="../stream/ngx_stream_js_module.xml" id="example">example</link> | 316 <link doc="../stream/ngx_stream_js_module.xml" id="example">example</link> |
317 has been changed. | 317 has been changed. |
318 For njs <link doc="../njs/njs_changes.xml" id="njs0.2.3">0.2.3</link> | 318 For njs <link doc="../njs/changes.xml" id="njs0.2.3">0.2.3</link> |
319 and earlier, use this configuration example: | 319 and earlier, use this configuration example: |
320 <example> | 320 <example> |
321 load_module modules/ngx_stream_js_module.so; | 321 load_module modules/ngx_stream_js_module.so; |
322 ... | 322 ... |
323 | 323 |