i am trying to install brotli module

Started by setecabanas, April 30, 2022, 05:40:37 PM

Previous topic - Next topic

setecabanas

hello,

I try  installing brotli as per instructions here: https://wiki.centos-webpanel.com/enabling-brotli-compression-on-nginx

however

Apr 30 19:28:57 hostname nginx[11905]: nginx: [emerg] dlopen() "/etc/nginx/modules/ngx_http_brotli_filter_module.so" failed (libbrotlienc.so.1: cannot open shared object file: No such file or directory) in /etc/nginx/nginx.conf:7



[root@s01 modules]# head /etc/nginx/nginx.conf
user nobody;
worker_processes auto;
#worker_rlimit_nofile    65535;
error_log               /var/log/nginx/error.log crit;
pid                     /var/run/nginx.pid;

load_module "modules/ngx_http_brotli_filter_module.so";
load_module "modules/ngx_http_brotli_static_module.so";


[root@s01 modules]# ls -liah /etc/nginx/modules/
total 28K
79792935 drwxr-xr-x 2 root root  86 Apr 30 19:14 .
75501142 drwxr-xr-x 3 root root  21 Apr 30 17:32 ..
79785643 -rw-r--r-- 1 root root 16K Apr 28  2019 ngx_http_brotli_filter_module.so
79785644 -rw-r--r-- 1 root root 12K Apr 28  2019 ngx_http_brotli_static_module.so

[root@s01 modules]# nginx -v
nginx version: nginx/1.20.2

any idea?



bytecanarias