add skynet-webportal-nginx logrotate config
This commit is contained in:
parent
634c623e48
commit
a940f2728f
|
@ -0,0 +1,16 @@
|
||||||
|
/home/user/skynet-webportal/docker/data/nginx/logs/*.log {
|
||||||
|
daily
|
||||||
|
rotate 3650
|
||||||
|
minsize 500M
|
||||||
|
create 644 root root
|
||||||
|
notifempty
|
||||||
|
dateext
|
||||||
|
missingok
|
||||||
|
compress
|
||||||
|
compressoptions --best
|
||||||
|
delaycompress
|
||||||
|
sharedscripts
|
||||||
|
postrotate
|
||||||
|
docker exec nginx nginx -s reopen
|
||||||
|
endscript
|
||||||
|
}
|
Reference in New Issue