14 lines
225 B
Plaintext
14 lines
225 B
Plaintext
/var/log/nginx/*log {
|
|
create 0644 nginx nginx
|
|
daily
|
|
rotate 10
|
|
missingok
|
|
notifempty
|
|
compress
|
|
sharedscripts
|
|
postrotate
|
|
/bin/systemctl kill --signal=SIGUSR1 nginx.service
|
|
endscript
|
|
}
|
|
|