xin

ssi

Enables the Server Side Includes body filter.

Syntaxssi on | off;
Contextshttpserverlocationif in location
Defaultssi off;

Behavior

When on, xin clears Content-Length and Accept-Ranges on the response, and clears Last-Modified/ETag unless ssi_last_modified is on.

Example

location / {
    root /srv/www;
    ssi on;
}

Related directives

ssi_types · ssi_last_modified