We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
brotli
下载 ngx_brotli 模块
ngx_brotli
cd ~ git clone --recursive git@github.com:google/ngx_brotli.git
修改 nginx 编译参数
nginx
cd ~/lnmp1.6 vi lnmp.conf
在 Nginx_Modules_Options 增加
Nginx_Modules_Options
--add-module=/root/ngx_brotli
编译 nginx
./upgrade.sh nginx
输入 版本号后,等待安装完成即可
启用 Brotli, 修改 nginx 的配置文件 增加
Brotli
# brotli brotli on; brotli_comp_level 6; brotli_types text/plain text/css text/xml application/json application/javascript application/xml+rss application/atom+xml image/svg+xml;
更多指令查看 https://github.com/google/ngx_brotli#configuration-directives
The text was updated successfully, but these errors were encountered:
No branches or pull requests
下载
ngx_brotli
模块修改
nginx
编译参数在
Nginx_Modules_Options
增加编译
nginx
输入
版本号后,等待安装完成即可
启用
Brotli
, 修改nginx
的配置文件 增加更多指令查看 https://github.com/google/ngx_brotli#configuration-directives
The text was updated successfully, but these errors were encountered: