API Evangelist API Evangelist
API Learnings
Toolbox
API Evangelist LLC

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

Specifications

SDKs

OpenAPI

nginx-njs-openapi.yaml Raw ↑