Mercurial > hg > nginx-site
diff 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 |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_js_module.xml +++ b/xml/en/docs/http/ngx_http_js_module.xml @@ -9,7 +9,7 @@ <module name="Module ngx_http_js_module" link="/en/docs/http/ngx_http_js_module.html" lang="en" - rev="14"> + rev="15"> <section id="summary"> @@ -50,11 +50,11 @@ http { js_content baz; } - location /summary { + location = /summary { return 200 $summary; } - location /hello { + location = /hello { js_content hello; } }