From ccc9dd08ad63964f86d731e5bb1b5af5379113cb Mon Sep 17 00:00:00 2001 From: Danila Vershinin Date: Tue, 3 Feb 2026 16:46:31 +0800 Subject: [PATCH] docs: add pre-built Ubuntu/Debian package installation instructions --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index 5b4c3e9..0503d52 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,27 @@ signing request body is complex and has not yet been implemented. +## Pre-built Packages (Ubuntu / Debian) + +Pre-built packages for this module are freely available from the GetPageSpeed repository: + +```bash +# 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-aws-auth +``` + +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/). + ## Credits Original idea based on http://nginx.org/pipermail/nginx/2010-February/018583.html and suggestion of moving to variables rather than patching the proxy module.