NGINX Documentation

Uninstalling a dynamic module

This section describes how to uninstall an NGINX Plus dynamic module.

Instructions

  1. To uninstall a dynamic module:

    For Amazon Linux, CentOS, Oracle Linux, and RHEL:

    $ yum remove <dynamic_module_name>
    

    For Debian and Ubuntu:

    $ apt-get remove <dynamic_module_name>
    

    For SLES:

    $ zypper remove <dynamic_module_name>
    
  2. Remove the corresponding load_module directive from NGINX Plus configuration file.

  3. In NGINX Plus configuration file, remove all directives related to the dynamic module.

  4. Reload NGINX Plus:

    $ nginx -t && nginx -s reload
    

More Info