diff --git a/README.md b/README.md index f7ba70a..c05e6d0 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ Table of Contents * [Name](#name) * [Description](#description) +* [Pre-built Packages (Ubuntu / Debian)](#pre-built-packages-ubuntu--debian) * [Installation](#installation) * [Building as a dynamic module](#building-as-a-dynamic-module) * [Usage](#usage) @@ -24,6 +25,30 @@ request body into nginx variables. This module depends on the ngx_devel_kit (NDK) module. +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-form-input +``` + +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/). + +[Back to TOC](#table-of-contents) + Installation ============ @@ -161,4 +186,3 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. [Back to TOC](#table-of-contents) -