日志切割(nginx)

日志切割(nginx)

Content #

  1. 移动旧日志文件

    mv localhost_access.log bak.log
    
  2. 执行reopen命令

    nginx -s reopen
    

From #