HTTP addition directives
add_after_body (http-addition)
Adds a fixed internal response after the main response body.
Formal Syntax & Structure
nginx syntaxnginx
add_after_body uri;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| uri | internal URI | empty quoted string | Fetch a fragment through a subrequest and insert after the response body. Empty string cancels inherited insertion. |
Working Example
Example Snippetnginx
add_after_body /_footer;