Implement location and variable handlers in Perl and insert Perl calls into Server Side Includes (SSI), with the Perl dynamic module, supported by NGINX, Inc.

Installation Instructions

  1. Install the Perl module.

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

    $ yum install nginx-plus-module-perl

    For Debian/Ubuntu:

    $ apt-get install nginx-plus-module-perl

    For SLES:

    $ zypper install nginx-plus-module-perl

    For Alpine:

    $ apk add nginx-plus-module-perl
  2. Put the load_module directive in the top‑level (“main”) context of NGINX Plus configuration file, nginx.conf:

    load_module modules/;
  3. Perform additional configuration as required by the module.

  4. Reload NGINX Plus to enable the module:

    $ nginx -t && nginx -s reload

More Info