Add the package repositories
Add the version of the Debian package repository that you want to use.
Debian 11 - Bullseye
sudo apt-get update
sudo apt-get install -y apt-transport-https wget gnupg
wget -qO - https://apt.signalsciences.net/release/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/sigsci.gpg
sudo echo "deb [signed-by=/usr/share/keyrings/sigsci.gpg] https://apt.signalsciences.net/release/debian/ bullseye main" | sudo tee /etc/apt/sources.list.d/sigsci-release.list
sudo apt-get update
Debian 10 - Buster
sudo apt-get update
sudo apt-get install -y apt-transport-https wget gnupg
wget -qO - https://apt.signalsciences.net/release/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/sigsci.gpg
sudo echo "deb [signed-by=/usr/share/keyrings/sigsci.gpg] https://apt.signalsciences.net/release/debian/ buster main" | sudo tee /etc/apt/sources.list.d/sigsci-release.list
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.
-
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*
-
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.
sudo service nginx restart