From b133a6fa407dc5716e08a80e90e56766781eb887 Mon Sep 17 00:00:00 2001 From: Danila Vershinin Date: Tue, 3 Feb 2026 16:11:33 +0800 Subject: [PATCH] docs: add pre-built package installation for Ubuntu/Debian Add instructions for installing the module via the GetPageSpeed APT repository, which provides freely available pre-built packages for Debian 12/13 and Ubuntu 20.04/22.04/24.04 (amd64 and arm64). --- README.textile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.textile b/README.textile index 6a478a6f..cdd5cd21 100644 --- a/README.textile +++ b/README.textile @@ -177,6 +177,29 @@ h1(#directives). Directives h1(#installation). Installation   +h2. Pre-built Packages (Ubuntu / Debian) + +Pre-built packages for this module are freely available from the GetPageSpeed repository: + +
+# Install the repository keyring
+sudo install -d -m 0755 /etc/apt/keyrings
+curl -fsSL https://extras.getpagespeed.com/deb-archive-keyring.gpg \
+  | sudo tee /etc/apt/keyrings/getpagespeed.gpg >/dev/null
+
+# Add the repository (Ubuntu example - replace 'ubuntu' and 'jammy' for your distro)
+echo "deb [signed-by=/etc/apt/keyrings/getpagespeed.gpg] https://extras.getpagespeed.com/ubuntu jammy main" \
+  | sudo tee /etc/apt/sources.list.d/getpagespeed-extras.list
+
+# Install nginx and the module
+sudo apt-get update
+sudo apt-get install nginx nginx-module-push-stream
+
+ +The module is automatically enabled after installation. Supported distributions include Debian 12/13 and Ubuntu 20.04/22.04/24.04 (both amd64 and arm64). See "the complete setup instructions":https://apt-nginx-extras.getpagespeed.com/apt-setup/. + +h2. Building from Source +
     # clone the project
     git clone https://github.com/wandenberg/nginx-push-stream-module.git