View this package for all Ubuntu releases →

How to install nginx-module-substitutions in Ubuntu 26.04 (resolute)

String substitutions module for nginx

Vendor: GetPageSpeed https://github.com/dvershinin/ngx_http_substitutions_filter_module

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-substitutions

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

Description

nginx_substitutions_filter is a filter module which can do both regular expression and fixed string substitutions on response bodies. This module is quite different from the Nginx's native Substitution Module. It scans the output chains buffer and matches string line by line, just like Apache's mod_substitute For any issues, see bug tracker at https://github.com/yaoweibin/ngx_http_substitutions_filter_module/issues and reference commit b8a71eacc7f986ba091282ab8b1bbbc6ae1807e0 if requested, not the version of the package.

Packages

Package Size Built
nginx-module-substitutions_1.30.6+0.6.6-9~gps1+ubuntu2604+stable_amd64 12 KiB 2026-10-17
nginx-module-substitutions_1.30.6+0.6.6-9~gps1+ubuntu2604+stable_arm64 11 KiB 2026-10-17

Subscribe