search close

Debian NGINX 1.14.1+

access_time Updated Sep 26, 2021

Add the Package Repositories

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

Debian 10 “buster”

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/ buster main
EOF
sudo apt-get update

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, replacing “NN.NN” with your Nginx version number:

sudo apt-get 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

sudo service nginx restart