View this package for all Ubuntu releases →

How to install nginx-module-security in Ubuntu 22.04 (jammy)

ModSecurity v3 connector dynamic module for NGINX

Vendor: GetPageSpeed https://github.com/owasp-modsecurity/ModSecurity-nginx

Install

curl -fsSL https://extras.getpagespeed.com/release-latest.deb -o /tmp/getpagespeed-release.deb
sudo apt-get install -y /tmp/getpagespeed-release.deb
rm /tmp/getpagespeed-release.deb
sudo getpagespeed-extras-channel mainline
sudo apt-get update
sudo apt-get install -y nginx-module-security

Installing packages requires an active GetPageSpeed subscription. For other releases and channels, use the setup wizard.

Description

The ModSecurity-nginx connector is the connection point between nginx and libmodsecurity (ModSecurity v3). This package provides the dynamic module ngx_http_modsecurity_module.so for use with the GetPageSpeed nginx build. Mirrors the RPM nginx-module-security package; alias names nginx-module-modsecurity and libnginx-mod-http-modsecurity are provided for compatibility.

Packages

Package Size Built
nginx-module-security_1.31.8+1.0.4-2~gps1+ubuntu2204+mainline_amd64 23 KiB 2026-10-21
nginx-module-security_1.31.8+1.0.4-2~gps1+ubuntu2204+mainline_arm64 22 KiB 2026-10-21
nginx-module-security_1.31.7+1.0.4-2~gps1+ubuntu2204+mainline_amd64 23 KiB 2026-10-15
nginx-module-security_1.31.7+1.0.4-2~gps1+ubuntu2204+mainline_arm64 22 KiB 2026-10-15

Subscribe