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
Installing packages requires an active GetPageSpeed subscription. 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.6+0.1.0-9~gps1+ubuntu2604+stable_amd64 | 6 KiB | 2026-10-17 |
| nginx-module-rewrite-status_1.30.6+0.1.0-9~gps1+ubuntu2604+stable_arm64 | 6 KiB | 2026-10-17 |