Advertisement

nginx未启用gizp压缩

阅读量:
复制代码
  
    
 #user  nobody;
    
 worker_processes  2;
    
  
    
 #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  2048;
    
 }
    
  
    
  
    
 http {
    
     include       mime.types;
    
     default_type  application/octet-stream;
    
     #上传文件大小限制
    
     client_max_body_size       50m;
    
     
    
     #access_log  logs/access.log  main;
    
     sendfile        on;
    
     #tcp_nopush     on;
    
  

全部评论 (0)

还没有任何评论哟~