$ 0 0 Rename the logfile and signal nginx to reopen logs (nginx -s reopen) I think, check the options.