GetPageSpeed Extras

nginx-mod

How to install nginx-mod on Amazon Linux

High-performance web server

License: BSD Vendor: GetPageSpeed LLC https://www.getpagespeed.com/server-setup/nginx-mod-a-better-faster-nginx-build

Availability

Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.

Distro Channel aarch64 x86_64 Version
Amazon Linux 2023 NGINX-MOD 1.30.6
Amazon Linux 2012.03 NGINX-MOD — 1.22.0.3.0.0
Amazon Linux 2 NGINX-MOD 1.30.6

Description

nginx [engine x] is an HTTP and reverse proxy server, as well as a mail proxy server. This version adds some patches to improve performance: * HPACK by Cloudflare * Dynamic TLS records Built with OpenSSL 3.5 (ABI-isolated openssl35 package) to support HTTP/3 with post-quantum X25519MLKEM768 key exchange, ensuring you're at the forefront of web technology. Be careful using this in production. This package merely addresses all the crazy folks who want you to compile NGINX to get the above features. The compiled NGINX is evil for many reasons. For more info, see: https://www.getpagespeed.com/server-setup/where-compilation-went-wrong The lesser, as well as faster evil is here. Packaged install is easier to use in production and is also easier to roll back to stable NGINX version in case there's an issue with those patches.

Built for Amazon Linux.

Install

NGINX-MOD Amazon Linux 2, 2012.03, 2023

nginx-mod on Amazon Linux 2, 2012.03, 2023

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install dnf-plugins-core
sudo dnf config-manager --enable getpagespeed-extras-nginx-mod
sudo dnf -y install nginx-mod

Package downloads require an active GetPageSpeed subscription — one repository for nginx-mod and thousands more packages for Amazon Linux.

Subscribe — from $10/mo

Frequently asked questions

How do I install nginx-mod on Amazon Linux?

Add the GetPageSpeed repository, then install the nginx-mod package with your system package manager.

Which Amazon Linux versions is nginx-mod available for?

nginx-mod is available for Amazon Linux 2, 2012.03, 2023.

Subscribe