View this package for all Ubuntu releases →
How to install nginx-module-security-headers in Ubuntu 26.04 (resolute)
NGINX module for sending security headers
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 apt-get update sudo apt-get install -y nginx-module-security-headers
Free to install; commercial production use requires a subscription. Without one, a small license notice appears on HTML pages after 30 days. For other releases and channels, use the setup wizard.
Description
This NGINX module adds security headers and removes insecure headers easily and according to HTTP specifications
Packages
| Package | Size | Built |
|---|---|---|
| nginx-module-security-headers_1.30.8+0.3.0-9~gps1+ubuntu2604+stable_amd64 | 7 KiB | 2026-11-24 |
| nginx-module-security-headers_1.30.8+0.3.0-9~gps1+ubuntu2604+stable_arm64 | 7 KiB | 2026-11-24 |
| nginx-module-security-headers_1.30.7+0.3.0-9~gps1+ubuntu2604+stable_amd64 | 7 KiB | 2026-11-18 |
| nginx-module-security-headers_1.30.7+0.3.0-9~gps1+ubuntu2604+stable_arm64 | 7 KiB | 2026-11-18 |