HTTP JavaScript directives

js_content (http-js)

Selects an HTTP location content handler.

Formal Syntax & Structure

nginx syntaxnginx
js_content module.function;

Parameters & Attributes

NameTypeDescription
handlermodule.functionChoose exported HTTP location content handler.

Working Example

Example Snippetnginx
js_content app.summary;
Nginx Reference