Set-Misc

Implement numerous additional set_* directives to extend the NGINX core Rewrite module, with the Set-Misc dynamic module supported by NGINX, Inc.

Installation Instructions

  1. Prior to installing the Set-Misc module, verify that the NDK module is already installed.

  2. Install the Set-Misc module.

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

    $ yum install nginx-plus-module-set-misc
    

    For Debian and Ubuntu:

    $ apt-get install nginx-plus-module-set-misc
    

    For SLES:

    $ zypper install nginx-plus-module-set-misc
    

    For Alpine:

    $ apk add nginx-plus-module-set-misc
    
  3. Put the load_module directives for NDK and Set-Misc modules in the top‑level (“main”) context of NGINX Plus configuration file, nginx.conf:

    load_module modules/ndk_http_module.so;
    load_module modules/ngx_http_set_misc_module.so;
    

    Note: The directives must be in this order.

  4. Perform additional configuration as required by the module.

  5. Reload NGINX Plus to enable the module:

    $ nginx -t && nginx -s reload
    

More Info