search close

Debian Nginx 1.14.1+

access_time Updated Dec 5, 2022

Add the package repositories

Debian 11 - Bullseye

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

Debian 10 - Buster

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

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

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

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

NOTE: If you are using the backports repository with Debian 9, you will want to install the nginx-module-sigsci-bp-nxo module.

  1. Install the Signal Sciences Nginx 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*
    
  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.

    sudo service nginx restart