How to install nginx-mod in Ubuntu 22.04 (jammy)
High performance web server with GetPageSpeed patches (nginx-mod)
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-nginx-mod-early main" | sudo tee /etc/apt/sources.list.d/getpagespeed-nginx-mod-early.list sudo apt-get update sudo apt-get install -y nginx-mod
Installing packages requires an active GetPageSpeed subscription. For other releases and channels, use the setup wizard.
Description
nginx [engine x] is an HTTP and reverse proxy server, as well as a mail proxy server. This is the GetPageSpeed "nginx-mod" build: stable nginx with an opinionated patch set (extended limit_req_rate units r/h, r/d, r/w, r/M, r/Y; dynamic TLS records; HTTP/3 :authority -> Host mapping; natural-sort autoindex; slow_start support; stricter max_headers default; dark-mode error pages) and two extra statically-built modules: * ngx_http_upstream_check_module - active backend health checks * ngx_http_upstream_api_module - NGINX Plus-compatible dynamic upstream management nginx-mod is ABI-compatible with our stable nginx. Dynamic modules from the stable channel (extras.getpagespeed.com codename suite) load against it without rebuild.
Packages
| Package | Size | Built |
|---|---|---|
| nginx-mod_1:1.30.6-5~gps1+ubuntu2204+stable_amd64 | 999 KiB | 2026-11-07 |
| nginx-mod_1:1.30.6-5~gps1+ubuntu2204+stable_arm64 | 940 KiB | 2026-11-07 |