Brotli Module update version

Started by mind5t0rm, August 10, 2025, 02:15:23 PM

Previous topic - Next topic

mind5t0rm

Hi all

I'm using NGINX version 1.28 on my CWP

I'm trying to install the Brotli modules and my file source has outdated files:
http://dl1.centos-webpanel.com/files/nginx/modules/nginx-brotli-modules.zip

Running nginx -t I'm getting this message:

nginx: [emerg] module "/etc/nginx/modules/ngx_http_brotli_filter_module.so" version 1016000 instead of 1028000 in /etc/nginx/nginx.conf:1

nginx: configuration file /etc/nginx/nginx.conf test failed

Does anyone have the source of the updated Brotli version?

The Github project seems abandoned too:
https://github.com/google/ngx_brotli

Any suggestions?

Thank you
A global boutique AI consulting, marketing & advertising agency, helping businesses worldwide achieve success - headquartered in Singapore, Southeast Asia.


mind5t0rm

Thank you @overseer

Unfortunately nope and Sandeep mentions in his latest forum post that he needs to update the guide because it is old.

I'm currently using Nginx v1.28 (stable repo) on my CWP PRO - AlmaLinux 8.

I tried both sources, and both have the same version incompatibility error.

I think - if the Brotli Module is abandoned - then we need to do a custom mod over the existing Brotli Module files to make them compatible with newer Nginx versions.

Any suggestions?

Thanks again.
A global boutique AI consulting, marketing & advertising agency, helping businesses worldwide achieve success - headquartered in Singapore, Southeast Asia.

overseer

The Google Brotli module hasn't been updated in 2 years on GitHub. You could fallback to gzip compression until this gets figured out.
https://blog.cloudflare.com/this-is-brotli-from-origin/

mind5t0rm

Already on Gzip.

Thank you Overseer

Let's hope we will get an update on that soon.
A global boutique AI consulting, marketing & advertising agency, helping businesses worldwide achieve success - headquartered in Singapore, Southeast Asia.

mind5t0rm

FYI for anyone looking to enable Brotli compression on Nginx 1.28v ++

This guide worked for me:
https://www.alphagnu.com/topic/10-enable-brotli-compression-on-nginx-cwp-and-on-linux-os-for-official-nginx/

I followed the last thread by AmarBunty on May 23.
A global boutique AI consulting, marketing & advertising agency, helping businesses worldwide achieve success - headquartered in Singapore, Southeast Asia.