Can I set up nginx to implement SSI-like functionality?
There's a module for Nginx to enable SSI functionality. It's quite well documented here. There are a few issues to be aware of:
- Relative parent paths are unavailable (e.g.,
../..
will not work). - Some variables (such as
LAST_MODIFIED
) are not available. - The syntax for directives must include a space (e.g.,
<--#include
must be<--# include
).