m.form1.cn

Nginx服务器的gzip压缩详解

由ngx_http_gzip_module模块处理的9个指令1,gzip指令开启和关闭gzip指令,语法为:gzipon|off;2,gzip_buffers指令语法:gzip_buffersnumbersize默认值:gzip_buffers44k/8k作用域:http,server,location设置系统获取几个单位的缓存用于存储gzip的压缩结果数据流。例如44k代表以4k为单位,按照原始数据大小以4k为单位的4倍申...

Linux Nginx 2513

Linux下编译安装Nginx与基本使用

Ubuntu编译Nginx准备工作#apt-getupdate#apt-getinstallgccg++automakelibpcre3libpcre3-devzlib1gzlib1g.devopenssllibssl-devCentos编译Nginx准备工作#yumupdate#yuminstallgcc-c++zlibzlib-developensslopenssl-develpcrepcre-develLinux编译Nginx过程#cd/usr/local/#mkdirnginx_162#cdnginx_162#wgethttp://nginx.org/d...

Linux Nginx 2103