Description
Extends Angie server configuration with njs scripting, letting administrators add small JavaScript-like logic to request handling. It is useful for routing decisions, header changes, access checks, and other server-side behavior that would be awkward in static configuration alone.
Use it only with scripts you trust and understand. Server-side scripts can affect public traffic, authentication decisions, performance, and what data is exposed in responses.