---

How to compile and install Nginx web server from source on Linux

This tutorial describes how to compile and install Nginx web server from source. While Nginx is available as a standard package on major Linux distros, you need to build it from source if you want to enable a custom third-party module. Note that Nginx does not support loadable modules like Apache web server. You need to choose and include third-party module(s) to use at compile-time.