This repository provides access to the Brotli dynamic module for nginx, so it can be dynamically loaded into Nginx configuration. The module is compiled on the following systems:
- Ubuntu 20.04
Tags represent stable Nginx version for which module is being compiled.
- Download module for you version of nginx and put it into
modules
directory (uslually/usr/lib/nginx/modules
). - Put the load_module directives in the top‑level (“main”) context of nginx file,
nginx.conf
:
load_module /usr/lib/nginx/modules/ngx_http_brotli_filter_module.so;
load_module /usr/lib/nginx/modules/ngx_http_brotli_static_module.so;
- Perform additional configuration as required by the module
- Test new configuration and reload nginx server:
nginx -t && nginx -s reload
GNU General Public License v3.0 or later
This repo is maintained by Igor Hrček igor.hrcek@mint.rs