View this package for all Ubuntu releases →
How to install nginx-module-rewrite-status in Ubuntu 26.04 (resolute)
Rewrite response status codes
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-rewrite-status
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
The rewrite status filter module allows rewriting response status codes. This is useful for customizing HTTP status codes returned to clients based on various conditions, without modifying the upstream response.
Packages
| Package | Size | Built |
|---|---|---|
| nginx-module-rewrite-status_1.30.8+0.1.0-9~gps1+ubuntu2604+stable_amd64 | 6 KiB | 2026-11-24 |
| nginx-module-rewrite-status_1.30.8+0.1.0-9~gps1+ubuntu2604+stable_arm64 | 6 KiB | 2026-11-24 |
| nginx-module-rewrite-status_1.30.7+0.1.0-9~gps1+ubuntu2604+stable_amd64 | 6 KiB | 2026-11-18 |
| nginx-module-rewrite-status_1.30.7+0.1.0-9~gps1+ubuntu2604+stable_arm64 | 6 KiB | 2026-11-18 |