摘要: nginx泡得太久,日志就越来越大,有必要对其切割下,也便于按天统计访问量神马的。 没啥难度,短短几行的脚本即可 #!/bin/bash # Description: rotate nginx access logs NGX_PID=`cat /usr/local/nginx/logs/nginx. 阅读全文
posted @ 2021-05-28 17:41 agang_19 阅读(4082) 评论(0) 推荐(0) 编辑