Initial
This commit is contained in:
13
install/rpm/logrotate/nginx
Normal file
13
install/rpm/logrotate/nginx
Normal file
@@ -0,0 +1,13 @@
|
||||
/var/log/nginx/*log /var/log/nginx/domains/*log {
|
||||
rotate 4
|
||||
weekly
|
||||
missingok
|
||||
notifempty
|
||||
compress
|
||||
delaycompress
|
||||
create 640
|
||||
sharedscripts
|
||||
postrotate
|
||||
[ -f /run/nginx.pid ] && kill -USR1 `cat /run/nginx.pid`
|
||||
endscript
|
||||
}
|
||||
Reference in New Issue
Block a user