Additional modules
The first half of this chapter covered two of the most important Nginx modules, namely, the Rewrite module and the SSI module. There are a lot more modules that will greatly enrich the functionality of the web server; they are regrouped here by theme.
Among the modules described in this section, some are included in the default Nginx build, but some are not. This implies that unless you specifically configured your Nginx build to include these modules (as described in Chapter 1, Downloading and Installing Nginx), they will not be available to you. But remember that rebuilding Nginx to include additional modules is a relatively quick and easy process.
Website access and logging
The following set of modules allows you to configure how visitors access your website and the way your server logs requests.
Index
The Index module provides a simple directive named index
, which lets you define the page that Nginx will serve by default if no filename is specified in the client request...