Page 1 of 1

Enabling Brotli Compression on Nginx VestaCP

Posted: Fri May 17, 2019 7:43 am
by sandy
Hi this is the guide for enabling brotli compression on nginx vestacp
https://www.mysterydata.com/how-to-enab ... -linux-os/

Re: Enabling Brotli Compression on Nginx VestaCP

Posted: Thu Jun 27, 2019 6:14 am
by salvatorenz
sandy wrote:
Fri May 17, 2019 7:43 am
Hi this is the guide for enabling brotli compression on nginx vestacp
https://www.mysterydata.com/how-to-enab ... -linux-os/
Thanks for the guide. Works A+ like all your other Vesta tutorials.

Re: Enabling Brotli Compression on Nginx VestaCP

Posted: Wed Jul 17, 2019 7:50 am
by epiel
Please, anybody can help me? I want to enable brotli but Im getting error with cmake, look below:

-- The C compiler identification is unknown
CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found. Pleas e set CMAKE_C_COMPILER to a valid compiler path or name.
CMake Error at CMakeLists.txt:101 (message):
log2() not found


-- Configuring incomplete, errors occurred!
See also "/usr/local/src/brotli/CMakeFiles/CMakeOutput.log".
See also "/usr/local/src/brotli/CMakeFiles/CMakeError.log".


later I install GCC and Development Tools and now I get:

-- The C compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
CMake Error at CMakeLists.txt:101 (message):
log2() not found


-- Configuring incomplete, errors occurred!
See also "/usr/local/src/brotli/CMakeFiles/CMakeOutput.log".
See also "/usr/local/src/brotli/CMakeFiles/CMakeError.log".


so what I have to do to get this working?

Im using Centos 7, nginx + php-fpm