From 03b16bf46045f6690f77a565fa9f113d651a9c2d Mon Sep 17 00:00:00 2001 From: Danila Vershinin Date: Tue, 3 Feb 2026 16:24:50 +0800 Subject: [PATCH] docs: add pre-built Ubuntu/Debian package installation instructions --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index ae9d0b7..a734c0f 100644 --- a/README.md +++ b/README.md @@ -28,8 +28,30 @@ protocol. * [upload_tame_arrays](#upload_tame_arrays) * [upload_pass_args](#upload_pass_args) * [Example configuration](#example-configuration) +* [Pre-built Packages (Ubuntu / Debian)](#pre-built-packages-ubuntu--debian) * [License](#license) +## 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-upload +``` + +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/). + ## Description The module parses request body storing all files being uploaded to a