Author Topic: Brotli Module update version  (Read 251 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Brotli Module update version
« on: August 10, 2025, 02:15:23 PM »
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
Code: [Select]
nginx -t I'm getting this message:

Code: [Select]
nginx: [emerg] module "/etc/nginx/modules/ngx_http_brotli_filter_module.so" version 1016000 instead of 1028000 in /etc/nginx/nginx.conf:1
Code: [Select]
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.


Offline
*
Re: Brotli Module update version
« Reply #2 on: August 11, 2025, 11:55:52 AM »
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.

Offline
*****
Re: Brotli Module update version
« Reply #3 on: August 11, 2025, 05:39:37 PM »
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/

Offline
*
Re: Brotli Module update version
« Reply #4 on: August 12, 2025, 03:24:24 AM »
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.

Offline
*
Re: Brotli Module update version
« Reply #5 on: August 20, 2025, 05:01:08 AM »
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.