Module ngx_stream_js_module

The ngx_stream_js_module module is used to implement handlers in nginScript — a subset of the JavaScript language.

This module is not built by default, it should be compiled with the nginScript module using the --add_module configuration parameter:

./configure --add-module=path-to-njs/nginx

The repository with the nginScript module can be cloned with the following command (requires Mercurial client):

hg clone http://hg.nginx.org/njs

This module can also be built as dynamic:

./configure --add-dynamic_module=path-to-njs/nginx
js_include

Syntax: js_include file; Default: — Context:

2017-02-09 07:06:39
js_filter

Syntax: js_filter function; Default: — Context:

2017-02-09 07:06:38
js_preread

Syntax: js_preread function; Default: — Context:

2017-02-09 07:06:39
js_access

Syntax: js_access function; Default: — Context:

2017-02-09 07:06:38
js_set

Syntax: js_set $variable function; Default: —

2017-02-09 07:06:40