This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/docker/nginx/logrotate

13 lines
316 B
Plaintext
Raw Normal View History

2021-01-23 17:56:12 +00:00
/usr/local/openresty/nginx/logs/*.log {
daily
dateext
rotate 3650
missingok
notifempty
nocompress
create 640 root root
sharedscripts
postrotate
[ ! -f /usr/local/openresty/nginx/logs/nginx.pid ] || kill -USR1 `cat /usr/local/openresty/nginx/logs/nginx.pid`
endscript
}