Exploring Module Configuration in NGINX
The true power of NGINX lies within its modules. The entire application is built on a modular system, and each module can be enabled or disabled at compile time. Some bring up simple functionalities, such as the autoindex module, which generates a listing of the files in a directory. Some will transform your perception of a web server (such as the Rewrite module). Apart from the NGINX modules that already exist, developers can also create their own modules to suit their needs.
A quick overview of the third-party module system can be found at the end of this chapter. Please note that third-party modules are maintained by the community, and there is no guarantee that these modules will be compatible with your version of NGINX.
This chapter covers the following topics:
- The Rewrite module, which does more than just rewrite URIs
- Additional modules enabled in the default NGINX build
- Optional modules that must be enabled at compile...