Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_js_module.xml @ 2206:5cacd6fffade
Eliminated some examples of unsafe prefix locations.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 27 Apr 2018 09:59:51 +0300 |
parents | dfc49994218c |
children | 467aef18bf12 |
comparison
equal
deleted
inserted
replaced
2205:e325638a6f34 | 2206:5cacd6fffade |
---|---|
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
8 | 8 |
9 <module name="Module ngx_http_js_module" | 9 <module name="Module ngx_http_js_module" |
10 link="/en/docs/http/ngx_http_js_module.html" | 10 link="/en/docs/http/ngx_http_js_module.html" |
11 lang="en" | 11 lang="en" |
12 rev="14"> | 12 rev="15"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 The <literal>ngx_http_js_module</literal> module is used to implement | 17 The <literal>ngx_http_js_module</literal> module is used to implement |
48 location / { | 48 location / { |
49 add_header X-Foo $foo; | 49 add_header X-Foo $foo; |
50 js_content baz; | 50 js_content baz; |
51 } | 51 } |
52 | 52 |
53 location /summary { | 53 location = /summary { |
54 return 200 $summary; | 54 return 200 $summary; |
55 } | 55 } |
56 | 56 |
57 location /hello { | 57 location = /hello { |
58 js_content hello; | 58 js_content hello; |
59 } | 59 } |
60 } | 60 } |
61 } | 61 } |
62 </example> | 62 </example> |