配置Nginx使用gzip压缩并启用测试
发布时间
阅读量:
阅读量
1、在部署nginx过程中,必须确保gizp模块被正确集成
2、关于nginx的配置设置
#user nobody;
worker_processes 4;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_byt
全部评论 (0)
还没有任何评论哟~
