You are not logged in.
Hi,
I just installed nginx + nginx-mod-brotli:
$ pacman -Qe | grep "nginx"
nginx 1.14.2-1
nginx-mod-brotli 1:0.1.2-4
nginx + gzip compression works fine. However, I can't enable Brotli compression. The official docs mention the
load_module
directive, but I can't find the installed module on my disk.
Where is "nginx-mod-brotli" installed and how can I tell the nginx.conf to use it?
Last edited by pancibule (2019-03-10 17:24:52)
Offline
pacman -Sl nginx-mod-brotli
EDIT: did you even read the page you linked to? It's very short. It gives you the full lines verbatim that you need to add to your config.
Last edited by Trilby (2019-03-10 16:03:43)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Moving to to Newbie Corner
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
EDIT: Found the files. That was all I asked for:
load_module "/usr/lib/nginx/modules/ngx_http_brotli_filter_module.so";
load_module "/usr/lib/nginx/modules/ngx_http_brotli_static_module.so";
Last edited by pancibule (2019-03-10 17:06:13)
Offline
It should work with relative paths as described in the link. But in either case please remember to mark your thread as SOLVED.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
It should work with relative paths as described in the link. But in either case please remember to mark your thread as SOLVED.
No, it didn't work. nginx's output was that it can't find these modules.
Offline