What Are Nginx Modules
Nginx, at Its Core, Is a Collection of Modules. Whether You Are Using Core Modules, Like the Http and Stream (Tcp/Udp) Modules, or Third‑Party Modules Like...
NGINX, at its core, is a collection of modules. Whether you are using core modules, like the http and stream (TCP/UDP) modules, or third‑party modules like GeoIP or RTMP, the module framework is the same. With the addition of dynamic module support, modules are an even better way to add functionality to NGINX.
Where are NGINX modules stored?
The default location, if no path was specified at compile time, is $NGX_PREFIX/modules . On my macOS system, $NGX_PREFIX defaults to /usr/local/nginx , so the default modules path is /usr/local/nginx/modules ; whereas Ubuntu 17.10 breaks the prefixed monolith up a bit and expects modules in /usr/lib/nginx/modules .
How can I tell which NGINX modules are installed?
- Linux list installed Nginx modules. Make sure you run nginx command as the root user ( sudo nginx -V ), and nginx is in your $PATH. …
- Find which flags Nginx was compiled with under Unix. …
- Other nginx command options. …
- Conclusion.