Uninstalling a dynamic module
Instructions
-
To uninstall a dynamic module:
For Amazon Linux 2, CentOS, Oracle Linux, and RHEL:
yum remove <dynamic_module_name>
For Amazon Linux 2023, AlmaLinux, Rocky Linux:
dnf remove <dynamic_module_name>
For Debian and Ubuntu:
apt-get remove <dynamic_module_name>
For SLES:
zypper remove <dynamic_module_name>
For FreeBSD:
pkg delete <dynamic_module_name>
Configuration
After uninstalling the package, you will need to disable the module in F5 NGINX Plus configuration file nginx.conf
.
-
Disable dynamic loading of the module by removing the corrsponding
load_module
directive. -
In NGINX Plus configuration file, remove all directives related to the dynamic module.
-
Test the configuration and reload NGINX Plus to disable the module:
nginx -t && nginx -s reload