search close

Red Hat NGINX-Plus

access_time Updated Dec 5, 2022

Add the package repositories

Add the Signal Sciences yum repositories.

Red Hat CentOS 8

sudo tee /etc/yum.repos.d/sigsci.repo <<-'EOF'
[sigsci_release]
name=sigsci_release
baseurl=https://yum.signalsciences.net/release/el/8/$basearch
repo_gpgcheck=1
gpgcheck=1
enabled=1
gpgkey=https://yum.signalsciences.net/release/gpgkey https://dl.signalsciences.net/sigsci-agent/gpg.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
EOF

Red Hat CentOS 7

sudo tee /etc/yum.repos.d/sigsci.repo <<-'EOF'
[sigsci_release]
name=sigsci_release
baseurl=https://yum.signalsciences.net/release/el/7/$basearch
repo_gpgcheck=1
gpgcheck=1
enabled=1
gpgkey=https://yum.signalsciences.net/release/gpgkey https://dl.signalsciences.net/sigsci-agent/gpg.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
EOF

Red Hat CentOS 6

Note: After Q2 2017, RHEL6 and CentOS 6 will exit “Production Phase 2” according to the Red Hat Enterprise Linux Life Cycle. Only limited “critical” security fixes will be issued. You will need to review the lifecycle document for details and plan appropriately.

sudo tee /etc/yum.repos.d/sigsci.repo <<-'EOF'
[sigsci_release]
name=sigsci_release
baseurl=https://yum.signalsciences.net/release/el/6/$basearch
repo_gpgcheck=1
gpgcheck=1
enabled=1
gpgkey=https://yum.signalsciences.net/release/gpgkey https://dl.signalsciences.net/sigsci-agent/gpg.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
EOF

Install the Nginx module

  1. Install the Signal Sciences Nginx module by running the following command:

    • NGINX Plus 27

      sudo yum install nginx-module-sigsci-nxp-1.21.6*
      
    • NGINX Plus 26

      sudo yum install nginx-module-sigsci-nxp-1.21.5*
      
    • NGINX Plus 25

      sudo yum install nginx-module-sigsci-nxp-1.21.3*
      
    • NGINX Plus 24

      sudo yum install nginx-module-sigsci-nxp-1.19.10*
      
    • NGINX Plus 23

      sudo yum install nginx-module-sigsci-nxp-1.19.5*
      
    • NGINX Plus 22

      sudo yum install nginx-module-sigsci-nxp-1.19.0*
      
    • NGINX Plus 21

      sudo yum install nginx-module-sigsci-nxp-1.17.9*
      
    • NGINX Plus 20

      sudo yum install nginx-module-sigsci-nxp-1.17.6*
      
    • NGINX Plus 19

      sudo yum install nginx-module-sigsci-nxp-1.17.3*
      
    • NGINX Plus 18

      sudo yum install nginx-module-sigsci-nxp-1.15.10*
      
    • NGINX Plus 17

      sudo yum install nginx-module-sigsci-nxp-1.15.7*
      
  2. In your Nginx config file (located by default at /etc/nginx/nginx.conf), add the following lines to the global section after the pid /run/nginx.pid; line:

    load_module /etc/nginx/modules/ngx_http_sigsci_module.so;
    
  3. Restart the Nginx service to initialize the new module.

    • CentOS 7/RHEL 7 or higher

      systemctl restart nginx
      
    • CentOS 6/RHEL 6

      restart nginx