HTTP JavaScript directives
js_header_filter (http-js)
Selects a synchronous response header filter.
Formal Syntax & Structure
nginx syntaxnginx
js_header_filter module.function;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| handler | module.function | Synchronous response header transformation; preserve framing and security semantics. |
Working Example
Example Snippetnginx
js_header_filter app.headers;