飞书日志监控

Nginx 的log日志文件下载查看配置

  server {
     listen 80;
     auth_basic "Nginx";  
     auth_basic_user_file /usr/local/nginx/conf/passwd1;
     autoindex on;
     server_name log.hanye;
     charset utf-8;
     
     location / {
          root  /data/sh/log;
          autoindex_exact_size off; # 关闭计算文件确切大小(单位bytes),只显示大概大小(单位kb、mb、gb)
          autoindex_localtime on; 
          autoindex on;
      }
  }

Last updated