How to install nginx-module-lua-upstream in Ubuntu 22.04 (jammy)
Lua API for NGINX upstream control
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 echo "deb [signed-by=/etc/apt/keyrings/deb-archive-keyring.gpg] https://extras.getpagespeed.com/ubuntu jammy-mainline-early main" | sudo tee /etc/apt/sources.list.d/getpagespeed-mainline-early.list sudo apt-get update sudo apt-get install -y nginx-module-lua-upstream
Installing packages requires an active GetPageSpeed subscription. For other releases and channels, use the setup wizard.
Description
An NGINX C module that exposes Lua API to ngx_lua for manipulating NGINX upstreams at runtime. This module allows Lua scripts to get and set upstream server properties, check health status, and modify upstream configurations dynamically without reloading.
Packages
| Package | Size | Built |
|---|---|---|
| nginx-module-lua-upstream_1.31.8+0.08-9~gps1+ubuntu2204+mainline_amd64 | 7 KiB | 2026-10-21 |
| nginx-module-lua-upstream_1.31.8+0.08-9~gps1+ubuntu2204+mainline_arm64 | 7 KiB | 2026-10-21 |