Subscribe

How to install sw-nginx-module-unbrotli in CentOS/RHEL 8 (x86_64)

Decompresses Brotli-encoded responses for clients that do not support it

License: BSD Vendor: GetPageSpeed LLC https://github.com/dvershinin/ngx_unbrotli
Important: The Plesk control panel must be installed on your server before using this repository.

Install

# The Plesk control panel must be installed on your server.
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-plesk
sudo dnf -y install sw-nginx-module-unbrotli

Description

The ngx_unbrotli module is a filter that decompresses responses with Content-Encoding: br for clients that do not support Brotli encoding method. It allows to save I/O by unconditional Brotli compression of responses. After installation, enable this module by running: plesk sbin nginx_modules_ctl --enable unbrotli

RPMs