Amazon Linux NGINX 1.14.1+
Last updated 2023-03-29
Our distribution release depends on the EPEL repository. You will need to ensure your system also has it installed.
Add the package repositories
Add the version of the NGINX package repository that you want to use:
NGINX version 1.18.0+ running either Amazon Linux 2 / Amazon Linux 2018.03
1$ sudo tee /etc/yum.repos.d/sigsci.repo <<-'EOF'2[sigsci_release]3name=sigsci_release4baseurl=https://yum.signalsciences.net/release/el/7/$basearch5repo_gpgcheck=16gpgcheck=17enabled=18gpgkey=https://yum.signalsciences.net/release/gpgkey9 https://dl.signalsciences.net/sigsci-agent/gpg.key10sslverify=111sslcacert=/etc/pki/tls/certs/ca-bundle.crt12EOF
NGINX version 1.14.1 < 1.17.9 on Amazon Linux 2
1$ sudo tee /etc/yum.repos.d/sigsci.repo <<-'EOF'2[sigsci_release]3name=sigsci_release4baseurl=https://yum.signalsciences.net/release/el/7/$basearch5repo_gpgcheck=16gpgcheck=17enabled=18gpgkey=https://yum.signalsciences.net/release/gpgkey https://dl.signalsciences.net/sigsci-agent/gpg.key9sslverify=110sslcacert=/etc/pki/tls/certs/ca-bundle.crt11EOF
NGINX version 1.14.1 < 1.17.9 on Amazon Linux 2018.03
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.
1$ sudo tee /etc/yum.repos.d/sigsci.repo <<-'EOF'2[sigsci_release]3name=sigsci_release4baseurl=https://yum.signalsciences.net/release/el/6/$basearch5repo_gpgcheck=16gpgcheck=17enabled=18gpgkey=https://yum.signalsciences.net/release/gpgkey https://dl.signalsciences.net/sigsci-agent/gpg.key9sslverify=110sslcacert=/etc/pki/tls/certs/ca-bundle.crt11EOF
Install the NGINX module
Install the Signal Sciences NGINX module by running the following command, replacing "
NN.NN
" with your NGINX version number:NGINX version 1.18.0+ running either Amazon Linux 2 / Amazon Linux 2018.03
$ sudo yum install nginx-module-sigsci-nxo-1.NN.NN*NGINX version 1.14.1 < 1.17.9 on Amazon Linux 2 / Amazon Linux 2018.03
$ sudo yum install nginx-module-sigsci-nxo-amzn-1.NN.NN*
In your NGINX config file (located by default at
/etc/nginx/nginx.conf
) add the following lines to the global section after thepid /run/nginx.pid;
line:load_module /etc/nginx/modules/ngx_http_sigsci_module.so;Restart the NGINX service to initialize the new module.
Amazon Linux 2
$ systemctl restart nginxAmazon Linux 2018.03
$ restart nginx
Do not use this form to send sensitive information. If you need assistance, contact support. This form is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.