Nginx, unlike Apache, doesn't support dynamically load additional modules. If we installed Nginx from distro's package repository, like installing for
apt-get under Ubuntu, we cannot have additional
nginx-somemodule package for easily installing more modules. If we need more than a standard Nginx, we have to remove the one installed with package manger, then build and install again from source. But installing via this method means we lose some advantage of package manager.
Why building debian package?
- Can revert to original Nginx by uninstall our deb package.