只需一步,快速开始
举报
/home/wwwroot/logs/*.log { daily missingok compress delaycompress dateext create notifempty sharedscripts postrotate kill -HUP `cat /usr/local/nginx/logs/nginx.pid` endscript }
59 23 * * * root logrotate -f /usr/local/nginx/conf/logrotate.conf
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|全球主机交流论坛
GMT+8, 2025-10-30 22:41 , Processed in 0.052064 second(s), 6 queries , Gzip On, MemCache On.
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.