O'Reilly logo

Mastering NGINX by Dimitri Aivaliotis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 for processing logic embedded in a webpage. It supports a series of commands that are controlled by the following directives:

Table: Server Side Includes directives

Directive

Explanation

ssi

Enables the processing of SSI files.

ssi_silent_errors

Suppresses the error message normally output when an error occurs during SSI processing.

ssi_types

Lists the MIME types of a response in addition to text/html in which SSI commands are processed. It may be * to enable all MIME types.

The Server Side Includes commands supported by NGINX are shown in the following table. They all follow the following ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required