1- Hello, I executed the command that our friend said and it was installed. Is there any problem with this command?
2- Do you think that nginx 1.24 needs pagespeed and ngx_brotli?
mkdir -p /www/server/ngx_brotli
git clone https://github.com/google/ngx_brotli.git /www/server/ngx_brotli
cd /www/server/ngx_brotli && git submodule update --init
cd /www/server/ngx_brotli/deps/brotli
mkdir -p out && cd out
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS="-Ofast -m64 -march=native -mtune=native -flto -funroll-loops -ffunction-sections -fdata-sections -Wl,--gc-sections" -DCMAKE_CXX_FLAGS="-Ofast -m64 -march=native -mtune=native -flto -funroll-loops -ffunction-sections -fdata-sections -Wl,--gc-sections" -DCMAKE_INSTALL_PREFIX=./installed ..
cmake --build . --config Release --target brotlienc
3- In the site configuration section and nginx configuration
I enter brotli commands, it gives an error
nginx: [emerg] unknown directive "brotli" in /www/server/nginx/conf/nginx.conf:69
nginx: configuration file /www/server/nginx/conf/nginx.conf test failed