Brotli compression not working / Brotli header not added when serving files in the http response.
Brief summary of issue:
I'm not very experienced with nginx so I might have misconfigured something but I have trimple checked everything.
I've installed nginx full with the Brotli module, the installation went fine and nginx is working as expected, but my files are not being served with the brotli header, even though I added this to my config :
But my .data.br and .js.br files do not have the br header in the http response and are not served correctly.
I saw here : https://denji.github.io/homebrew-nginx/ that the brotli module is this one : https://github.com/eustas/ngx_brotli and it seems old.
I was wondering if the module should use the default Google repo instead ? Could that be the problem ?
If so how can I make the install point to the Google repo instead of the old eustas one ?
Indicate troubleshooting steps taken
brew update
and retried your prior step?brew doctor
, fixed as many issues as possible and retried your prior step?sudo chown -R $(whoami) $(brew --prefix)
?Bug reports / build errors:
Brotli compression not working / Brotli header not added when serving files in the http response.
Brief summary of issue:
I'm not very experienced with nginx so I might have misconfigured something but I have trimple checked everything. I've installed nginx full with the Brotli module, the installation went fine and nginx is working as expected, but my files are not being served with the brotli header, even though I added this to my config :
But my .data.br and .js.br files do not have the br header in the http response and are not served correctly.
I saw here : https://denji.github.io/homebrew-nginx/ that the brotli module is this one : https://github.com/eustas/ngx_brotli and it seems old. I was wondering if the module should use the default Google repo instead ? Could that be the problem ? If so how can I make the install point to the Google repo instead of the old eustas one ?