1、新建日志分割文件目录:cd /etc/logrotate.d
新建:vim nginxlog
添加内容: /usr/local/nginx/logs/sjt_access.log { su root roo
2022-05-06