Using Server Side Includes
The ssi
module is also a filter, and one of NGINX's most flexible. It enables the use of Server Side Includes (SSI) for processing logic embedded in a webpage. It supports a series of commands that are controlled by the following directives:
SSI directives |
Explanation |
---|---|
|
This directive enables the processing of SSI files. |
|
This directive suppresses the error message normally output when an error occurs during SSI processing. |
|
This directive lists the MIME types of a response in addition to |
The SSI commands and arguments supported by NGINX are shown in the following table:
The SSI commands |
Arguments |
Explanation |
---|---|---|
|
This command defines a section that can be referenced in the | |
|
This argument defines the name of the block. | |
|
This command sets global... |