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

NameTypeDescription
uriinternal URI | empty quoted stringFetch a fragment through a subrequest and insert after the response body. Empty string cancels inherited insertion.

Working Example

Example Snippetnginx
add_after_body /_footer;
Nginx Reference