Mercurial > hg > nginx-site
comparison xml/en/docs/njs/examples.xml @ 2536:87f34fafa4e8
Removed load_module from "Hello World" example in njs.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Fri, 24 Apr 2020 21:32:52 +0100 |
parents | 9c8a89d3876f |
children | c81b1fadbcf3 |
comparison
equal
deleted
inserted
replaced
2535:140a8a9f1dac | 2536:87f34fafa4e8 |
---|---|
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="13"> | 12 rev="14"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 The examples work since | 17 The examples work since |
24 <section id="helloword" name="Hello World"> | 24 <section id="helloword" name="Hello World"> |
25 | 25 |
26 <para> | 26 <para> |
27 <path>nginx.conf</path>: | 27 <path>nginx.conf</path>: |
28 <example> | 28 <example> |
29 load_module modules/ngx_http_js_module.so; | |
30 | |
31 events {} | 29 events {} |
32 | 30 |
33 http { | 31 http { |
34 js_import http.js; | 32 js_import http.js; |
35 js_content http.hello; | 33 js_content http.hello; |