nginx配置说明

 

http://nginx.org/en/docs/http/ngx_http_core_module.html

http://nginx.org/en/docs/ngx_core_module.html

 

 

测试gzip生效的命令:

 

curl -I -H "Accept-Encoding: gzip, deflate" "http://10.5.24.219:81/photoid/52b3a4df8d816c9873ae0b4a"

 

curl -I -H "Accept-Encoding: gzip, deflate" "www.sbzr.com"

你可能感兴趣的:(nginx)