search close

Debian NGINX-Plus

access_time Updated Jun 20, 2021

Add the Package Repositories

We’ll first add in the Signal Sciences apt repositories as this simplifies the installation process.

Debian 9 “stretch”

Cut-and-paste the following script:

sudo apt-get install -y apt-transport-https wget gnupg
wget -qO - https://apt.signalsciences.net/release/gpgkey | sudo apt-key add -
sudo tee /etc/apt/sources.list.d/sigsci-release.list <<-'EOF'
deb https://apt.signalsciences.net/release/debian/ stretch main
EOF
sudo apt-get update

Debian 8 “jessie”

Cut-and-paste the following script:

sudo apt-get install -y apt-transport-https wget
wget -qO - https://apt.signalsciences.net/release/gpgkey | sudo apt-key add -
sudo tee /etc/apt/sources.list.d/sigsci-release.list <<-'EOF'
deb https://apt.signalsciences.net/release/debian/ jessie main
EOF
sudo apt-get update

Debian 7 “wheezy”

Cut-and-paste the following script:

sudo apt-get install -y apt-transport-https wget
wget -qO - https://apt.signalsciences.net/release/gpgkey | sudo apt-key add -
sudo tee /etc/apt/sources.list.d/sigsci-release.list <<-'EOF'
deb https://apt.signalsciences.net/release/debian/ wheezy main
EOF
sudo apt-get update

Install the module with apt

Then install the module by running the following command for your NGINX version:

NGINX+ 19

sudo apt-get install nginx-module-sigsci-nxp=1.17.3*

NGINX+ 18

sudo apt-get install nginx-module-sigsci-nxp=1.15.10*

NGINX+ 17

sudo apt-get install nginx-module-sigsci-nxp=1.15.7*

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

sudo service nginx restart