NGINX njs Scripting API
The NGINX njs module embeds a JavaScript (ECMAScript 5.1+) runtime into NGINX, allowing developers to write custom request/response handlers, access control logic, and content filters. It provides HTTP and stream request objects, a Fetch-compatible web API, cryptographic functions, and built-in modules for file system, XML, and query string operations.
Documentation
Documentation
https://nginx.org/en/docs/njs/
APIReference
https://nginx.org/en/docs/njs/reference.html
GettingStarted
https://nginx.org/en/docs/njs/install.html