Module ngx_stream_js_module
- Known Issues
- Example Configuration
- Directives
- js_access
- js_filter
- js_include
- js_preread
- js_set
- Session Object Properties
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