Closed xx-zhang closed 4 years ago
Hello @xx-zhang ,
With these steps:
... the modsec_audit.log file did auto-create for me just now.
If you saw something different, I can only speculate. Did you restart nginx? Did one of the workers perhaps not die after your step#2?
In any case, I wouldn't recommend that as the best approach. If you want to restart nginx while deleting the old audit log, instead consider:
remove the modsec_audit.log then kill the nginx master pid. we can see the modsec_audit.log file not auto create.