nginx配置开启gzip压缩域内流量
发布时间
阅读量:
阅读量
以下为nginx配置文件的内容
user root;
worker_processes 2;
worker_rlimit_nofile 6000;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
pid /var/run/nginx.pid;
events {
worker_connections 3000;
}
http {
include mime.types;
default_type application/octet-stream;
client_max_body_size 50m;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
全部评论 (0)
还没有任何评论哟~
