February 2018
Beginner to intermediate
348 pages
9h 40m
English
Having directives inserted within the actual content of files that Nginx serves raises one major issue: What files should Nginx parse for SSI commands? It would be a waste of resources to parse binary files, such as images (.gif, .jpg, .png) or other kinds of media, since they are unlikely to contain any SSI commands. You need to make sure to configure Nginx correctly with the directives introduced by this module:
|
Directive |
Description |
|
ssi Context: http, server, location, if |
Enables parsing files for SSI commands. Nginx only parses files corresponding to MIME types selected with the ssi_types directive. Syntax: on or off Default value: off ssi on; |
|
ssi_types Context: http, server, location ... |
Read now
Unlock full access