HTTP ssi directives
ssi_types (http-ssi)
Extends SSI beyond HTML to named MIME types; avoid blanket scope.
Formal Syntax & Structure
nginx syntaxnginx
ssi_types mime-type ...;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| types | one or more MIME types | * | Extend filtering beyond text/html. Prefer explicit types rather than a wildcard. |
Working Example
Example Snippetnginx
ssi_types text/plain;