1c673dcb63
* Add rotate command and use it in logrotate * Use pid files for all killprocs to help in the case where users want to run multiple nginx instances * Remove the non-locale erorr message in the upgrade command
13 lines
171 B
Plaintext
13 lines
171 B
Plaintext
/var/log/nginx/*log {
|
|
daily
|
|
rotate 10
|
|
missingok
|
|
notifempty
|
|
compress
|
|
sharedscripts
|
|
postrotate
|
|
/etc/init.d/nginx rotate
|
|
endscript
|
|
}
|
|
|