jobextra/nginx/logrotate
2022-06-24 22:10:40 +03:00

10 lines
178 B
Text

/var/log/nginx/*log {
missingok
notifempty
create 640 http log
sharedscripts
compress
postrotate
test ! -r /run/nginx.pid || kill -USR1 `cat /run/nginx.pid`
endscript
}