Using brotli compression in NGINX (especially for my_webapp)

My YunoHost server

Hardware: VPS bought online
YunoHost version: 11.2.12
I have access to my server : Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

I would like to enable and use brotli compression for the text files in my webapp, instead of using gzip.

Unfortunately, I can’t do so because when running sudo apt install nginx-module-brotli I get: E: Unable to locate package nginx-module-brotli.

I also tried building nginx from source and get the brotli module from there, but with no success…

Does anyone have any suggestions?

Thanks a lot!

Brotli seems available out of the box from bookworm onwards, sorry!

cf Debian -- Details of package libnginx-mod-http-brotli-filter in sid

1 Like

It’s ok! It just means that I’ll have to wait for the next YunoHost version, no problem.

Thank you!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.