Subscribe

How to install nginx-module-unbrotli (x86_64)

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

License: BSD Vendor: GetPageSpeed LLC https://github.com/dvershinin/ngx_unbrotli

Install

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo amazon-linux-extras install epel
sudo yum -y install 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. To enable this module after installation, add the following to /etc/nginx/nginx.conf and reload NGINX: load_module modules/ngx_http_unbrotli_filter_module.so; Alternatively, you can enable all installed modules by placing this line at the top of /etc/nginx/nginx.conf: include /usr/share/nginx/modules/*.conf;

RPMs