15 lines
324 B
Plaintext
15 lines
324 B
Plaintext
|
/var/log/nginx/*.log {
|
||
|
daily
|
||
|
missingok
|
||
|
rotate 32
|
||
|
compress
|
||
|
delaycompress
|
||
|
nodateext
|
||
|
notifempty
|
||
|
create 644 www-data root
|
||
|
sharedscripts
|
||
|
postrotate
|
||
|
[ -f /var/run/nginx.pid ] && kill -USR1 `cat /var/run/nginx.pid`
|
||
|
endscript
|
||
|
}
|