Closed
Description
Hello dears,
i'm running modsec on latest nginx on centos7. The problem is that i cannot rotate the logs with logrotate.
My logrotate config file for modsec is the following:
/var/log/modsec_audit.log {
daily
rotate 7
missingok
compress
postrotate
[ ! -f /var/run/nginx.pid ] || kill -USR1cat /var/run/nginx.pid
endscript
}