Mercurial > hg > nginx-site
comparison xml/ru/docs/http/ngx_http_js_module.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 | 617bc29bd759 |
children | b4991bbd64ee |
comparison
equal
deleted
inserted
replaced
2533:617bc29bd759 | 2534:33468af2eaf7 |
---|---|
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
8 | 8 |
9 <module name="Модуль ngx_http_js_module" | 9 <module name="Модуль ngx_http_js_module" |
10 link="/ru/docs/http/ngx_http_js_module.html" | 10 link="/ru/docs/http/ngx_http_js_module.html" |
11 lang="ru" | 11 lang="ru" |
12 rev="21"> | 12 rev="22"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 Модуль <literal>ngx_http_js_module</literal> позволяет задавать | 17 Модуль <literal>ngx_http_js_module</literal> позволяет задавать |
32 | 32 |
33 <para> | 33 <para> |
34 Пример работает начиная с версии | 34 Пример работает начиная с версии |
35 <link doc="../njs/changes.xml" id="njs0.4.0">0.4.0</link>. | 35 <link doc="../njs/changes.xml" id="njs0.4.0">0.4.0</link>. |
36 <example> | 36 <example> |
37 load_module modules/ngx_http_js_module.so; | |
38 ... | |
39 | |
40 http { | 37 http { |
41 js_import http.js; | 38 js_import http.js; |
42 | 39 |
43 js_set $foo http.foo; | 40 js_set $foo http.foo; |
44 js_set $summary http.summary; | 41 js_set $summary http.summary; |