search close

Red Hat NGINX 1.14.1+

access_time Updated Sep 26, 2021

Add the Package Repositories

Red Hat CentOS 8

Cut-and-paste the following script:

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

Cut-and-paste the following script:

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.

Cut-and-paste the following script:

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 module with yum

Note: If you are using the EPEL repository with CentOS 7 or 8, you will want to install the nginx-module-sigsci-epel_nxo.x86_64 module.

Then install the module by running the following command, replacing “NN.NN” with your Nginx version number:

sudo yum install nginx-module-sigsci-nxo-1.NN.NN*

Update the Nginx configuration

Edit your nginx.conf file located by default at /etc/nginx/nginx.conf.

Add the following lines to the global section. For example after the pid /run/nginx.pid; line add:

load_module /etc/nginx/modules/ngx_http_sigsci_module.so;

Restart the Nginx web service

RHEL 7/CentOS 7 and higher

systemctl restart nginx

RHEL 6/CentOS 6

restart nginx